FireDAC.Stan.Option.TFDTxOptions.StopOptions
Delphi
property StopOptions: TFDTxStopOptions read FStopOptions write SetStopOptions
C++
__property TFDTxStopOptions StopOptions = {read=FStopOptions, write=SetStopOptions, default=3};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | TFDTxOptions |
Description
Specifies the stopping options of the automatic transaction.
Use the StopOptions property to specify the conditions when FireDAC should automatically terminate the 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 the transaction will be automatically finished, provided that the additional specified options are valid:
Option |
Description |
|
Stops the transaction only if all commands associated with the transaction are inactive. |
|
Stops the transaction only if it was automatically started by FireDAC, as a result of AutoStart = True. |
|
Uses CommitRetaining instead of Commit. |