Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NavigationEntry.Load Method

Definition

Namespace:
Microsoft.EntityFrameworkCore.ChangeTracking
Assembly:
Microsoft.EntityFrameworkCore.dll
Package:
Microsoft.EntityFrameworkCore v1.1.6
Package:
Microsoft.EntityFrameworkCore v10.0.0
Package:
Microsoft.EntityFrameworkCore v2.0.3
Package:
Microsoft.EntityFrameworkCore v2.1.11
Package:
Microsoft.EntityFrameworkCore v2.2.6
Package:
Microsoft.EntityFrameworkCore v3.0.0
Package:
Microsoft.EntityFrameworkCore v3.1.0
Package:
Microsoft.EntityFrameworkCore v5.0.0
Package:
Microsoft.EntityFrameworkCore v6.0.0
Package:
Microsoft.EntityFrameworkCore v7.0.0
Package:
Microsoft.EntityFrameworkCore v8.0.0
Package:
Microsoft.EntityFrameworkCore v9.0.0

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

Name Description
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
Source:
NavigationEntry.cs

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

public virtual void Load();
public abstract void Load();
abstract member Load : unit -> unit
override this.Load : unit -> unit
abstract member Load : unit -> unit
Public Overridable Sub Load ()
Public MustOverride Sub Load ()

Remarks

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

Applies to

Load(LoadOptions)

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

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

public abstract void Load(Microsoft.EntityFrameworkCore.ChangeTracking.LoadOptions options);
abstract member Load : Microsoft.EntityFrameworkCore.ChangeTracking.LoadOptions -> unit
Public MustOverride Sub Load (options As LoadOptions)

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


Feedback

Was this page helpful?