Skip to main content

Definition

Assembly: CloudNimble.McpEssentials.EntityFrameworkCore.dll Namespace: CloudNimble.McpEssentials.EntityFrameworkCore.Tasks Inheritance: CloudNimble.McpEssentials.Core.Tasks.StoredMcpTask

Syntax

Summary

Persisted MCP task row. Inherits protocol fields from StoredMcpTask and adds an application-managed concurrency token plus JSON columns for payloads. Map with AddMcpTasksTable (default table McpTasks). Do not store these rows on domain tables; tasks expire in minutes.

Constructors

.ctor

Initializes an empty row for EF Core materialization.

Syntax

.ctor

Initializes a new row from a protocol snapshot.

Syntax

Parameters

.ctor

Initializes a new working row owned by ownerUserId.

Syntax

Parameters

Properties

ErrorJson

Gets or sets the JSON-RPC error as JSON. Backs StoredMcpTask.Error.

Syntax

Property Value

Type: string?

InputRequestsJson

Gets or sets the outstanding input-request map as JSON. Backs StoredMcpTask.InputRequests.

Syntax

Property Value

Type: string?

ResultJson

Gets or sets the terminal result as JSON. Backs StoredMcpTask.Result.

Syntax

Property Value

Type: string?

RowVersion

Gets or sets the application-managed concurrency token. SQL Server hosts may remap this as rowversion in their own configuration.

Syntax

Property Value

Type: byte[]

Methods

Clone Override

Syntax

Returns

Type: CloudNimble.McpEssentials.Core.Tasks.StoredMcpTask