IProperty.DeclaringEntityType Property

Definition

Caution

Use DeclaringType and cast to IEntityType or IComplexType

Gets the entity type that this property belongs to.

public Microsoft.EntityFrameworkCore.Metadata.IEntityType DeclaringEntityType { get; }
[System.Obsolete("Use DeclaringType and cast to IEntityType or IComplexType")]
public virtual Microsoft.EntityFrameworkCore.Metadata.IEntityType DeclaringEntityType { get; }
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType
[<System.Obsolete("Use DeclaringType and cast to IEntityType or IComplexType")>]
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType
Public ReadOnly Property DeclaringEntityType As IEntityType
Public Overridable ReadOnly Property DeclaringEntityType As IEntityType

Property Value

Implements

Attributes

Applies to