RelationalForeignKeyExtensions.GetMappedConstraints(IForeignKey) Méthode

Définition

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.

S’applique à