Share via


IKey.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.IEntityType DeclaringEntityType { get; }
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType
Public ReadOnly Property DeclaringEntityType As IEntityType

Property Value

Applies to