Share via


RuntimeKey.IReadOnlyKey.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.IReadOnlyEntityType Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey.DeclaringEntityType { [System.Diagnostics.DebuggerStepThrough] get; }
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType
 ReadOnly Property DeclaringEntityType As IReadOnlyEntityType Implements IReadOnlyKey.DeclaringEntityType

Property Value

Implements

Attributes

Applies to