語言

ConventionPropertyExtensions.FindPrincipals(IConventionProperty) 方法

定義

警告

Use IConventionProperty.GetPrincipals

尋找包含該屬性的清單,若該屬性屬於外鍵,則該屬性受限制。

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> FindPrincipals(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
[System.Obsolete("Use IConventionProperty.GetPrincipals")]
public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> FindPrincipals(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
static member FindPrincipals : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
[<System.Obsolete("Use IConventionProperty.GetPrincipals")>]
static member FindPrincipals : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
<Extension()>
Public Function FindPrincipals (property As IConventionProperty) As IReadOnlyList(Of IConventionProperty)

參數

property
IConventionProperty

外鍵屬性。

傳回

所有相關的主要性質清單,包括該性質。

屬性

適用於