ConventionPropertyExtensions.FindPrincipals(IConventionProperty) Method
Definition
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 IConventionProperty.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.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)
Parameters
- property
- IConventionProperty
The foreign key property.
Returns
The list of all associated principal properties including the given property.
- Attributes
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework