EntityEntry.Navigation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework