QueryContext.SetNavigationIsLoaded 方法

定义

重载

SetNavigationIsLoaded(Object, INavigation)

将导航设置为已加载。

SetNavigationIsLoaded(Object, INavigationBase)

将给定实体的导航设置为已加载。

SetNavigationIsLoaded(Object, INavigation)

将导航设置为已加载。

public virtual void SetNavigationIsLoaded (object entity, Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
abstract member SetNavigationIsLoaded : obj * Microsoft.EntityFrameworkCore.Metadata.INavigation -> unit
override this.SetNavigationIsLoaded : obj * Microsoft.EntityFrameworkCore.Metadata.INavigation -> unit
Public Overridable Sub SetNavigationIsLoaded (entity As Object, navigation As INavigation)

参数

entity
Object

实体实例。

navigation
INavigation

导航属性。

适用于

SetNavigationIsLoaded(Object, INavigationBase)

将给定实体的导航设置为已加载。

public virtual void SetNavigationIsLoaded (object entity, Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation);
abstract member SetNavigationIsLoaded : obj * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> unit
override this.SetNavigationIsLoaded : obj * Microsoft.EntityFrameworkCore.Metadata.INavigationBase -> unit
Public Overridable Sub SetNavigationIsLoaded (entity As Object, navigation As INavigationBase)

参数

entity
Object

实体实例。

navigation
INavigationBase

导航属性。

适用于