MutablePropertyExtensions.FindPrincipals(IMutableProperty) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
外鍵屬性。
傳回
包含指定屬性的所有相關聯主體屬性清單。
- 屬性