Class BeginTransactionProcessor
Imperative transaction processor that opens a
and stores it on the exchange for later commit/rollback.
Use or
to explicitly close the scope. If neither is called, the scope will be
disposed (rolled back) when the exchange completes.
public sealed class BeginTransactionProcessor : IProcessor
Inheritance
Implements
Methods
Process(IExchange, CancellationToken)
Processes the exchange asynchronously.
public Task Process(IExchange exchange, CancellationToken ct = default)
Constructors
BeginTransactionProcessor(TransactionPolicy?, ILogger?)
Creates a begin-transaction processor.