Click or drag to resize

TransactionContextDoTransactionally 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: 24.1.418.0 (24.1.418.0)
Syntax
public void DoTransactionally(
	Action<Transaction> callback
)

Parameters

callback
Type: SystemActionTransaction
The callback to execute transactionally.
See Also