FireDAC.Comp.Client.TFDRdbmsDataSet.UpdateTransaction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property UpdateTransaction: TFDCustomTransaction read GetUpdateTransaction write SetUpdateTransaction;

C++

__property TFDCustomTransaction* UpdateTransaction = {read=GetUpdateTransaction, write=SetUpdateTransaction};

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDRdbmsDataSet

Description

Gets / Sets a reference to transaction objects.

The UpdateTransaction property allows to associate dataset internal update commands with an explicit transaction object. If it is specified, the dataset update commands will be associated with the default connection update transaction. If it is not specified, it will be associated with dataset Transaction

For Prepare, Open, ExecSQL, ExecProc and Execute methods, Transaction objects will be used. 

Currently, explicit update transaction object assignment is supported only for InterBase and Firebird.

See Also