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

外键属性。

返回

所有关联的主体属性的列表,包括给定属性。

属性

适用于