NavigationBaseExtensions.SetIsLoadedWhenNoTracking Method

Definition

Calls SetLoaded(Object, String, Boolean) for a INavigationBase to mark it as loaded when a no-tracking query has eagerly loaded this relationship.

public static void SetIsLoadedWhenNoTracking (this Microsoft.EntityFrameworkCore.Metadata.INavigationBase navigation, object entity);
static member SetIsLoadedWhenNoTracking : Microsoft.EntityFrameworkCore.Metadata.INavigationBase * obj -> unit
<Extension()>
Public Sub SetIsLoadedWhenNoTracking (navigation As INavigationBase, entity As Object)

Parameters

navigation
INavigationBase

The navigation loaded.

entity
Object

The entity for which the navigation has been loaded.

Applies to