CollectionEntry.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 override void Load ();
override this.Load : unit -> unit
Public Overrides 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 override void Load (Microsoft.EntityFrameworkCore.ChangeTracking.LoadOptions options);
override this.Load : Microsoft.EntityFrameworkCore.ChangeTracking.LoadOptions -> unit
Public Overrides 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