IReadOnlyKey.DeclaringEntityType 屬性

定義

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

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

屬性值

適用於