Click or drag to resize

TransactionContext.DoTransactionally Method

Executes the provided callback within a transaction, and automatically commits the transaction when the callback returns. If the transaction conflicts (it raises a TransactionConflictException), the callback is executed again with a new transaction. This process continues until the transaction commits successfully.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public void DoTransactionally(
	Action<Transaction> callback
)

Parameters

callback
Type: System.Action<Transaction>
The callback to execute transactionally.
See Also