FireDAC.Comp.Client.TFDConnection.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: TFDConnection

Delphi

property UpdateTransaction;

C++

__property UpdateTransaction;

Description

The reference to the TFDCustomTransaction object, which will be used to post changes to the database.

FireDAC.Comp.Client.TFDConnection.UpdateTransaction inherits from FireDAC.Comp.Client.TFDCustomConnection.UpdateTransaction. All content below this line refers to FireDAC.Comp.Client.TFDCustomConnection.UpdateTransaction.

The reference to the TFDCustomTransaction object, which will be used to post changes to the database.

The UpdateTransaction property gets or sets the reference to the transaction object, which will be default for all the associated datasets without the UpdateTransaction property explicitly assigned. This transaction is used by datasets to post changes to the database. 

If UpdateTransaction is not assigned, but Transaction is assigned, the Transaction object is used instead of UpdateTransaction

Note: At the moment, this behavior only applies for InterBase and Firebird connections.

See Also