NavigationExtensions.IsEagerLoaded(INavigation) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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
用于查找是否应预先加载它的导航属性。
返回
一个 值,该值指示默认情况下是否应预先加载此导航。
- 属性