FireDAC.Stan.Option.TFDTxOptions.DisconnectAction
Delphi
property DisconnectAction: TFDTxAction read FDisconnectAction write FDisconnectAction default xdCommit;
C++
__property TFDTxAction DisconnectAction = {read=FDisconnectAction, write=FDisconnectAction, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | TFDTxOptions |
Description
Specifies an action that FireDAC should take when closing the connection.
Use DisconnectAction to specify an action that FireDAC should take when closing the connection, if there is an active transaction. The default value is xdCommit
.
Action |
Description |
|
There is nothing to be done. DBMS will take its default action. |
|
Commit the transaction. |
|
Rollback the transaction. |