Share via


EntityEntry.Navigation Method

Definition

Overloads

Navigation(INavigationBase)

Provides access to change tracking information and operations for a given navigation of this entity.

Navigation(String)

Provides access to change tracking information and operations for a given navigation of this entity.

Navigation(INavigationBase)

Provides access to change tracking information and operations for a given navigation of this entity.

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.NavigationEntry Navigation (Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigationBase);
abstract member Navigation : Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.ChangeTracking.NavigationEntry
override this.Navigation : Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> Microsoft.EntityFrameworkCore.ChangeTracking.NavigationEntry
Public Overridable Function Navigation (navigationBase As INavigationBase) As NavigationEntry

Parameters

navigationBase
INavigationBase

The navigation to access information and operations for.

Returns

An object that exposes change tracking information and operations for the given property.

Remarks

See Accessing tracked entities in EF Core and Changing foreign keys and navigations for more information and examples.

Applies to

Navigation(String)

Provides access to change tracking information and operations for a given navigation of this entity.

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.NavigationEntry Navigation (string propertyName);
abstract member Navigation : string -> Microsoft.EntityFrameworkCore.ChangeTracking.NavigationEntry
override this.Navigation : string -> Microsoft.EntityFrameworkCore.ChangeTracking.NavigationEntry
Public Overridable Function Navigation (propertyName As String) As NavigationEntry

Parameters

propertyName
String

The navigation to access information and operations for.

Returns

An object that exposes change tracking information and operations for the given property.

Remarks

See Accessing tracked entities in EF Core and Changing foreign keys and navigations for more information and examples.

Applies to