API:FireDAC.Comp.Client.TFDMetaInfoQuery.UpdateTransaction

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property UpdateTransaction;

C++

__property UpdateTransaction;

Description

Gets / Sets a reference to transaction objects.

FireDAC.Comp.Client.TFDMetaInfoQuery.UpdateTransaction inherits from FireDAC.Comp.Client.TFDRdbmsDataSet.UpdateTransaction. All content below this line refers to FireDAC.Comp.Client.TFDRdbmsDataSet.UpdateTransaction.

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