QueryContext.SetNavigationIsLoaded 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
导航属性。