ForeignKeyExtensions.GetNavigation(IForeignKey, 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.INavigation GetNavigation(this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, bool pointsToPrincipal);
static member GetNavigation : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * bool -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function GetNavigation (foreignKey As IForeignKey, pointsToPrincipal As Boolean) As INavigation
Paramètres
- foreignKey
- IForeignKey
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.