MutableForeignKeyExtensions.GetNavigation(IMutableForeignKey, Boolean) 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.
Retourne une navigation associée à cette clé étrangère.
public static Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation GetNavigation(this Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey, bool pointsToPrincipal);
static member GetNavigation : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
<Extension()>
Public Function GetNavigation (foreignKey As IMutableForeignKey, pointsToPrincipal As Boolean) As IMutableNavigation
Paramètres
- foreignKey
- IMutableForeignKey
Clé étrangère.
- pointsToPrincipal
- Boolean
Valeur indiquant si la navigation se trouve sur le type dépendant pointant vers le type principal.
Retours
Navigation associée à cette clé étrangère ou null.