ForeignKeyExtensions.GetNavigation(IForeignKey, Boolean) Yöntem

Tanım

Bu yabancı anahtarla ilişkili bir gezinti döndürür.

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

Parametreler

foreignKey
IForeignKey

Yabancı anahtar.

pointsToPrincipal
Boolean

Asıl türe işaret eden bağımlı türde gezintinin olup olmadığını gösteren bir değer.

Döndürülenler

INavigation

Bu yabancı anahtarla ilişkili bir gezinti veya null.

Şunlara uygulanır