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.

C#
public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty FindFirstPrincipal (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);

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 à

Produit Versions
Entity Framework Core 3.0, 3.1, 5.0