Прочетете на английски

Споделяне чрез


MutablePropertyExtensions.FindPrincipals(IMutableProperty) Method

Definition

Caution

Use IMutableProperty.GetPrincipals

Finds the list of principal properties including the given property that the given property is constrained by if the given property is part of a foreign key.

C#
public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> FindPrincipals (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
C#
[System.Obsolete("Use IMutableProperty.GetPrincipals")]
public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> FindPrincipals (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);

Parameters

property
IMutableProperty

The foreign key property.

Returns

The list of all associated principal properties including the given property.

Attributes

Applies to

Продукт Версии (остаряло)
Entity Framework Core 5.0 (6.0)