共用方式為


RuntimeKey.IKey.DeclaringEntityType 屬性

定義

取得索引鍵所定義的實體類型。 這可能與在繼承階層中定義索引鍵時所定義的類型 Properties 不同 (,因為屬性可以在基底類型上定義) 。

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

屬性值

實作

屬性

適用於