Share via


IConventionKey.DeclaringEntityType Property

Definition

Gets the entity type the key is defined on. This may be different from the type that Properties are defined on when the key is defined a derived type in an inheritance hierarchy (since the properties may be defined on a base type).

public Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType DeclaringEntityType { get; }
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public ReadOnly Property DeclaringEntityType As IConventionEntityType

Property Value

Applies to