MutableForeignKeyExtensions.GetNavigation(IMutableForeignKey, Boolean) Méthode

Définition

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.

S’applique à