MutableKeyExtensions.GetReferencingForeignKeys(IMutableKey) 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 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.