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