NavigationExtensions.IsEagerLoaded(INavigation) 方法

定义

注意

Use INavigation.IsEagerLoaded

注意

Use IReadOnlyNavigation.IsEagerLoaded

获取一个值,该值指示默认情况下是否应预先加载此导航。

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

参数

navigation
INavigation

用于查找是否应预先加载它的导航属性。

返回

一个 值,该值指示默认情况下是否应预先加载此导航。

属性

适用于