MutablePropertyExtensions.FindPrincipals(IMutableProperty) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
The foreign key property.
The list of all associated principal properties including the given property.
- Attributes
Продукт | Версии (остаряло) |
---|---|
Entity Framework Core | 5.0 (6.0) |
Обратна връзка за Entity Framework
Entity Framework е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: