IConventionProperty.GetPrincipals 方法

定義

如果指定的屬性是外鍵的一部分,則尋找主體屬性清單,包括給定屬性所限制的指定屬性。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> GetPrincipals ();
abstract member GetPrincipals : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
override this.GetPrincipals : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
Public Overridable Function GetPrincipals () As IReadOnlyList(Of IConventionProperty)

傳回

包含指定屬性的所有相關聯主體屬性清單。

適用於