IConventionKey.DeclaringEntityType 屬性

定義

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

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

屬性值

適用於