AnyDAC
ContentsIndexHome
PreviousUpNext
TADTxOptions.StopOptions Property

Specifies automatic transaction stoping options.

Group
Links

Use StopOptions property to specify conditions, when AnyDAC should finish automatically started transaction, if DBMS does not support automatic transaction management, like Interbase or Firebird. The default value is [xoIfAutoStarted, xoIfCmdsInactive]. 

If AutoStop is True, then transaction will be automatically finished, if also specified options are valid:

Option 
Description 
xoIfCmdsInactive 
Stop transaction only if all commands, associated with transaction, are inactive. 
xoIfAutoStarted 
Stop transaction only if it was automatically started by AnyDAC, as result of AutoStart = True. 
xoFinishRetaining 
Use CommitRetaining instead of Commit. 
property StopOptions: TADTxStopOptions;
What do you think about this topic? Send feedback!