FireDAC.Comp.Client.TFDTable.Transaction
Delphi
property Transaction;
C++
__property Transaction;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDTable |
Description
Gets / Sets a reference to transaction objects.
FireDAC.Comp.Client.TFDTable.Transaction inherits from FireDAC.Comp.Client.TFDRdbmsDataSet.Transaction. All content below this line refers to FireDAC.Comp.Client.TFDRdbmsDataSet.Transaction.
Gets / Sets a reference to transaction objects.
The Transaction property allows to associate a dataset with an explicit transaction object. If it is not specified, the dataset will be associated with the default connection transaction.
The specified transaction object will be used only for Prepare, Open, ExecSQL, ExecProc and Execute methods. For commands generated to apply changes to a database, FireDAC will use UpdateTransaction if it is specified; otherwise, it will use Transaction.
Currently, explicit transaction object assignment is supported only for InterBase and Firebird.