IMutableForeignKey.GetNavigation(Boolean) Methode

Definition

Gibt eine Navigation zurück, die diesem Fremdschlüssel zugeordnet ist.

public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation? GetNavigation (bool pointsToPrincipal);
abstract member GetNavigation : bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
override this.GetNavigation : bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
Public Overridable Function GetNavigation (pointsToPrincipal As Boolean) As IMutableNavigation

Parameter

pointsToPrincipal
Boolean

Ein Wert, der angibt, ob die Navigation auf dem abhängigen Typ basiert, der auf den Prinzipaltyp verweist.

Gibt zurück

Eine Navigation, die diesem Fremdschlüssel oder zugeordnet ist null.

Gilt für: