QueryContext.InitializeStateManager(Boolean) Method

Definition

Initializes the Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager to be used with this QueryContext.

public virtual void InitializeStateManager (bool standAlone = false);
abstract member InitializeStateManager : bool -> unit
override this.InitializeStateManager : bool -> unit
Public Overridable Sub InitializeStateManager (Optional standAlone As Boolean = false)

Parameters

standAlone
Boolean

Whether a stand-alone Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager should be created to perform identity resolution.

Applies to