Class UpdateAggregateStatusRequest
Data request to update the aggregate status of a message based on transport delivery statuses.
[NoTenantTerm(TenantConfinement.ForeignKeyConfined, "this request spans both tables and neither predicate can reach another tenant, for two different reasons. The roll-up reads the transports table through MessageId, a foreign key to the globally-unique outbox Id, so every row it aggregates belongs to the one message the claim returned; the update then addresses that message's own row by the outbox Id, which is that table's primary key and so matches at most one row. The drain claims across tenants, so a tenant term on either statement could only subtract rows the roll-up must see")]
[NoTenantTerm(TenantConfinement.IdentityAddressed, "this request spans both tables and neither predicate can reach another tenant, for two different reasons. The roll-up reads the transports table through MessageId, a foreign key to the globally-unique outbox Id, so every row it aggregates belongs to the one message the claim returned; the update then addresses that message's own row by the outbox Id, which is that table's primary key and so matches at most one row. The drain claims across tenants, so a tenant term on either statement could only subtract rows the roll-up must see")]
public sealed class UpdateAggregateStatusRequest : DataRequestBase<IDbConnection, int>, IDataRequest<IDbConnection, int>, IDataRequest
- Inheritance
-
UpdateAggregateStatusRequest
- Implements
- Inherited Members
Constructors
UpdateAggregateStatusRequest(string, string, string, int, CancellationToken)
Initializes a new instance of the UpdateAggregateStatusRequest class.
public UpdateAggregateStatusRequest(string outboxTableName, string transportsTableName, string messageId, int commandTimeout, CancellationToken cancellationToken)
Parameters
outboxTableNamestringThe qualified outbox table name.
transportsTableNamestringThe qualified transports table name.
messageIdstringThe message ID to update.
commandTimeoutintCommand timeout in seconds.
cancellationTokenCancellationTokenThe cancellation token.
Remarks
This framework request binds its fixed primitive input and output schema without runtime emit. Replacing a known parameter value is observed at execution; custom parameter metadata, templates and output callbacks are not an extension contract. Custom IDataRequest implementations are unchanged.