Share via


RuntimeKey.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).

Microsoft.EntityFrameworkCore.Metadata.IEntityType Microsoft.EntityFrameworkCore.Metadata.IKey.DeclaringEntityType { [System.Diagnostics.DebuggerStepThrough] get; }
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.Microsoft.EntityFrameworkCore.Metadata.IKey.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IEntityType
 ReadOnly Property DeclaringEntityType As IEntityType Implements IKey.DeclaringEntityType

Property Value

Implements

Attributes

Applies to