Share via


MutableKeyExtensions.GetReferencingForeignKeys(IMutableKey) Méthode

Définition

Obtient toutes les clés étrangères qui ciblent une clé primaire ou secondaire donnée.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey> GetReferencingForeignKeys (this Microsoft.EntityFrameworkCore.Metadata.IMutableKey key);
static member GetReferencingForeignKeys : Microsoft.EntityFrameworkCore.Metadata.IMutableKey -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey>
<Extension()>
Public Function GetReferencingForeignKeys (key As IMutableKey) As IEnumerable(Of IMutableForeignKey)

Paramètres

key
IMutableKey

Clé pour laquelle rechercher les clés étrangères.

Retours

Clés étrangères qui référencent la clé donnée.

S’applique à