Dela via


NavigationExtensions.IsEagerLoaded(INavigation) Method

Definition

Caution

Use INavigation.IsEagerLoaded

Caution

Use IReadOnlyNavigation.IsEagerLoaded

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

public static bool IsEagerLoaded (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
[System.Obsolete("Use INavigation.IsEagerLoaded")]
public static bool IsEagerLoaded (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
[System.Obsolete("Use IReadOnlyNavigation.IsEagerLoaded")]
public static bool IsEagerLoaded (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
static member IsEagerLoaded : Microsoft.EntityFrameworkCore.Metadata.INavigation -> bool
[<System.Obsolete("Use INavigation.IsEagerLoaded")>]
static member IsEagerLoaded : Microsoft.EntityFrameworkCore.Metadata.INavigation -> bool
[<System.Obsolete("Use IReadOnlyNavigation.IsEagerLoaded")>]
static member IsEagerLoaded : Microsoft.EntityFrameworkCore.Metadata.INavigation -> bool
<Extension()>
Public Function IsEagerLoaded (navigation As INavigation) As Boolean

Parameters

navigation
INavigation

The navigation property to find whether it should be eager loaded.

Returns

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

Attributes

Applies to