IReadOnlyProperty.DeclaringEntityType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use DeclaringType and cast to IReadOnlyEntityType or IReadOnlyComplexType
Gets the entity type that this property belongs to.
public Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType DeclaringEntityType { get; }
[System.Obsolete("Use DeclaringType and cast to IReadOnlyEntityType or IReadOnlyComplexType")]
public virtual Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType DeclaringEntityType { get; }
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
[<System.Obsolete("Use DeclaringType and cast to IReadOnlyEntityType or IReadOnlyComplexType")>]
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
Public ReadOnly Property DeclaringEntityType As IReadOnlyEntityType
Public Overridable ReadOnly Property DeclaringEntityType As IReadOnlyEntityType
Property Value
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework