KeyExtensions.GetReferencingForeignKeys(IKey) 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.IForeignKey> GetReferencingForeignKeys(this Microsoft.EntityFrameworkCore.Metadata.IKey key);
static member GetReferencingForeignKeys : Microsoft.EntityFrameworkCore.Metadata.IKey -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
<Extension()>
Public Function GetReferencingForeignKeys (key As IKey) As IEnumerable(Of IForeignKey)
Paramètres
- key
- IKey
Clé pour laquelle rechercher les clés étrangères.
Retours
Clés étrangères qui font référence à la clé donnée.