共用方式為


RuntimeForeignKey.DeclaringEntityType 屬性

定義

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

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

屬性值

適用於