FireDAC.Stan.Option.TFDTxOptions.EnableNested
Delphi
property EnableNested: Boolean read FEnableNested write FEnableNested default True;
C++
__property bool EnableNested = {read=FEnableNested, write=FEnableNested, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | TFDTxOptions |
Description
Controls the nested transactions.
Set the EnableNested property to True to enable nested transactions, or set it to False to disable them. The default value is True.
When a transaction is active, the next StartTransaction call will create a nested transaction. FireDAC emulates nested transactions using savepoints if a DBMS does not support nested transactions explicitly. To disable nested transactions, set EnableNested to False, and the next StartTransaction call will raise an exception.