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
外鍵屬性。
傳回
所有相關的主要性質清單,包括該性質。
- 屬性