FireDAC.Comp.Client.TFDRdbmsDataSet.UpdateTransaction

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDRdbmsDataSet

Delphi

property UpdateTransaction: TFDCustomTransaction read GetUpdateTransaction write SetUpdateTransaction;

C++

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

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