Share via


MutablePropertyExtensions.FindFirstPrincipal(IMutableProperty) Méthode

Définition

Recherche la première propriété principale par laquelle la propriété donnée est contrainte si la propriété donnée fait partie d’une clé étrangère.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty FindFirstPrincipal (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
static member FindFirstPrincipal : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
<Extension()>
Public Function FindFirstPrincipal (property As IMutableProperty) As IMutableProperty

Paramètres

property
IMutableProperty

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

Retours

Première propriété de principal associée, ou null si aucune propriété n’existe.

S’applique à