語言

MutablePropertyExtensions.FindPrincipals(IMutableProperty) 方法

定義

警告

Use IMutableProperty.GetPrincipals

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

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

參數

property
IMutableProperty

外鍵屬性。

傳回

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

屬性

適用於