ConventionPropertyExtensions.FindPrincipals(IConventionProperty) Méthode

Définition

Attention

Use IConventionProperty.GetPrincipals

Recherche la liste des propriétés principales, y compris la propriété donnée par laquelle la propriété donnée est contrainte si la propriété donnée fait partie d’une clé étrangère.

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)

Paramètres

property
IConventionProperty

Propriété de clé étrangère.

Retours

Liste de toutes les propriétés de principal associées, y compris la propriété donnée.

Attributs

S’applique à