NavigationEntry.Load Method

Definition

Loads the entity or 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

Note that entities that are already being tracked are not overwritten with new data from the database.

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

Applies to