QueryContext.InitializeStateManager(Boolean) 方法

定义

Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager初始化要用于此 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)

参数

standAlone
Boolean

是否应创建独立 Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IStateManager 以执行标识解析。

适用于