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.

C#
public static bool IsEagerLoaded (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
C#
[System.Obsolete("Use INavigation.IsEagerLoaded")]
public static bool IsEagerLoaded (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
C#
[System.Obsolete("Use IReadOnlyNavigation.IsEagerLoaded")]
public static bool IsEagerLoaded (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);

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

Product Versions (Obsolete)
Entity Framework Core 3.0, 3.1 (5.0, 6.0)