NavigationEntry.Load Method

Definition

Overloads

Load()

Loads the entities referenced by this navigation property, unless IsLoaded is already set to true.

Load(LoadOptions)

Loads the entities referenced by this navigation property, unless IsLoaded is already set to true.

Load()

Source:
NavigationEntry.cs
Source:
NavigationEntry.cs
Source:
NavigationEntry.cs
Source:
NavigationEntry.cs
Source:
NavigationEntry.cs
Source:
NavigationEntry.cs
Source:
NavigationEntry.cs
Source:
NavigationEntry.cs
Source:
NavigationEntry.cs

Loads the entities referenced by this navigation property, unless IsLoaded is already set to true.

C#
public virtual void Load ();
C#
public abstract void Load ();

Remarks

See Accessing tracked entities in EF Core and Loading related entities for more information and examples.

Applies to

Entity Framework Core 9.0 and other versions
Product Versions
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

Load(LoadOptions)

Source:
NavigationEntry.cs
Source:
NavigationEntry.cs

Loads the entities referenced by this navigation property, unless IsLoaded is already set to true.

C#
public abstract void Load (Microsoft.EntityFrameworkCore.ChangeTracking.LoadOptions options);

Parameters

options
LoadOptions

Options to control the way related entities are loaded.

Remarks

See Accessing tracked entities in EF Core and Loading related entities for more information and examples.

Applies to

Entity Framework Core 9.0 and Entity Framework Core 8.0
Product Versions
Entity Framework Core 8.0, 9.0