API:FireDAC.Comp.Client.TFDTransaction
Delphi
TFDTransaction = class(TFDCustomTransaction)
C++
class PASCALIMPLEMENTATION TFDTransaction : public TFDCustomTransaction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | FireDAC.Comp.Client |
Description
This class is responsible for connection transaction management.
FireDAC.Comp.Client.TFDTransaction inherits from FireDAC.Comp.Client.TFDCustomTransaction. All content below this line refers to FireDAC.Comp.Client.TFDCustomTransaction.
This class is responsible for connection transaction management.
Use TFDCustomTransaction to manage transactions in a connection to a DBMS.
The component, at first, is target to InterBase / Firebird client application developers, because these DBMSs support multiple active transactions per connection. If a DBMS does not support this feature, then multiple TFDCustomTransaction objects on the same connection will share control under the same single transaction. Also, the application can use the TFDCustomConnection transaction control methods.
This class hides some of the properties, allowing the descendant classes to control the properties' visibility. End users should use TFDTransaction.