IConventionProperty.DeclaringEntityType Property

Definition

Caution

Use DeclaringType and cast to IConventionEntityType or IConventionComplexType

Gets the entity type that this property belongs to.

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

Property Value

Attributes

Applies to