共用方式為


RuntimeKey.DeclaringEntityType 屬性

定義

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

public virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType DeclaringEntityType { [System.Diagnostics.DebuggerStepThrough] get; }
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.DeclaringEntityType : Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType
Public Overridable ReadOnly Property DeclaringEntityType As RuntimeEntityType

屬性值

屬性

適用於