AnyDAC
ContentsIndexHome
PreviousUpNext
TADTable.Transaction Property

Gets / sets reference to transaction object.

Group
Links

The Transaction property allows to associate dataset with explicit transaction object. If it is not specified, then dataset will be associated with connection default transaction. 

The specified transaction object will be used only for Prepare, Open, ExecSQL, ExecProc, Execute methods. For commands, generated to apply changes to database, AnyDAC will use UpdateTransaction, if it is specified, otherwise - Transaction. 

Currently explicit transaction object assignment is supported only for Interbase / Firebird servers.

property Transaction: TADCustomTransaction;
What do you think about this topic? Send feedback!