Definition
Assembly: CloudNimble.McpEssentials.EntityFrameworkCore.dll Namespace: CloudNimble.McpEssentials.EntityFrameworkCore.Tasks Inheritance: CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBaseSyntax
Summary
An IMcpTaskStorePlus that persists snapshots onTContext.Set<McpTaskEntity>(). Register as a singleton. The host registers
TContext as scoped (standard AddDbContext); this store opens
a scope per operation.
Remarks
Client-facing operations require a current user and treat another user’s task as missing. Server-side completion skips the live-user check. Optional IMcpTaskInputSignalBus fans McpTaskStoreBase.InputResponseReceived out to other nodes. The SDKWithTasks API captures the store instance before Build(); use
WithTasksPlus so the provider is stamped on first use.
Type Parameters
TContext- The host DbContext. Map McpTaskEntity withModelBuilder.AddMcpTasksTableinOnModelCreating, or withDbContextOptionsBuilder.AddMcpTasksTablefromAddDbContextwhen the context project must not reference this package.
Constructors
.ctor
Initializes a new instance of theEFCoreMcpTaskStore1` class.
Syntax
Parameters
Exceptions
.ctor
Initializes a new instance of theEFCoreMcpTaskStore1` class
that always uses userId.
Syntax
Parameters
.ctor
Initializes a new instance of theEFCoreMcpTaskStore1` class
that resolves the user from a ClaimsPrincipal.
Syntax
Parameters
Exceptions
.ctor
Initializes a new instance of theEFCoreMcpTaskStore1class with deferred factories so the MCP server builder can capture the store beforeBuild()`.
Syntax
Parameters
Exceptions
Methods
Dispose Virtual
Syntax
Related APIs
- System.IDisposable