RelationalForeignKeyExtensions.GetMappedConstraints(IForeignKey) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient les contraintes de clé étrangère auxquelles la clé étrangère est mappée.
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint> GetMappedConstraints(this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey);
static member GetMappedConstraints : Microsoft.EntityFrameworkCore.Metadata.IForeignKey -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKeyConstraint>
<Extension()>
Public Function GetMappedConstraints (foreignKey As IForeignKey) As IEnumerable(Of IForeignKeyConstraint)
Paramètres
- foreignKey
- IForeignKey
Clé étrangère.
Retours
Contraintes de clé étrangère auxquelles la clé étrangère est mappée.