NavigationBaseExtensions.SetIsLoadedWhenNoTracking Method
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)
- navigation
- INavigationBase
The navigation loaded.
- entity
- Object
The entity for which the navigation has been loaded.
Product | Versions |
---|---|
Entity Framework Core | 5.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: