Advantage Transaction Processing is aligned with the existing Delphi scheme as much as possible.
The Advantage TAdsConnection component has encapsulated Advantage Transaction Processing in the Advantage TDataSet Descendant solution. Use the TAdsConnection component to perform transaction processing with the Advantage TDataSet Descendant solution. The TAdsConnection methods and property applicable to transaction processing are:
Begins a transaction for all tables associated with the instance of TAdsConnection.
Aborts a transaction. Any updates, deletes, and inserts issued since the transaction began will be aborted.
Commits the changes since the transaction began.
Boolean property to indicate if a transaction is active.
Returns the current transaction nesting level.