NavigationEntry.Load 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
Load() |
Loads the entities referenced by this navigation property, unless IsLoaded
is already set to |
Load(LoadOptions) |
Loads the entities referenced by this navigation property, unless IsLoaded
is already set to |
Load()
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)
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
Entity Framework