TransactionFinishHandlerBase (open)
Base class for objects that will handle commit or rollback of a transaction. Used with SetFinishHandler
Syntax
LOADLIB "wh::dbase/transaction.whlib";
OBJECTTYPE TransactionFinishHandlerBase
Functions
- MACRO OnCommit()
Called when the transaction has committed (after all OnCommitBroadcasts calls)
- MACRO OnCommitBroadcasts()
Called immediately when the transaction has committed, use for event broadcasts only
- MACRO OnPreCommit(OBJECT transaction)
Called before the commit will be attempted
- MACRO OnRollback()
Called when the transaction has rolled back