Share via


MutableNavigationExtensions.SetIsEagerLoaded Method

Definition

Sets a value indicating whether this navigation should be eager loaded by default.

public static void SetIsEagerLoaded (this Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation navigation, bool? eagerLoaded);
static member SetIsEagerLoaded : Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation * Nullable<bool> -> unit
<Extension()>
Public Sub SetIsEagerLoaded (navigation As IMutableNavigation, eagerLoaded As Nullable(Of Boolean))

Parameters

navigation
IMutableNavigation

The navigation property to set whether it should be eager loaded for.

eagerLoaded
Nullable<Boolean>

A value indicating whether this navigation should be eager loaded by default.

Applies to