NavigationBaseExtensions.SetIsLoadedWhenNoTracking Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework