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)

Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs

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

C#
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.NavigationEntry Navigation (Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigationBase);

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

Entity Framework Core 9.0 i druge verzije
Proizvod Verzije
Entity Framework Core 7.0, 8.0, 9.0

Navigation(String)

Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs
Source:
EntityEntry.cs

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

C#
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.NavigationEntry Navigation (string propertyName);

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 Core 9.0 i druge verzije
Proizvod Verzije
Entity Framework Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0