FireDAC.Comp.Script.TFDScript.Transaction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Transaction: TFDCustomTransaction read FTransaction write SetTransaction;

C++

__property Firedac::Comp::Client::TFDCustomTransaction* Transaction = {read=FTransaction, write=SetTransaction};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Comp.Script.pas
FireDAC.Comp.Script.hpp
FireDAC.Comp.Script TFDScript

Description

Specifies a transaction object.

The Transaction property value points to a transaction object. The SQL commands, executed by the script engine, are prepared and executed in the context of this transaction. The Transaction property value must be specified before the ExecuteAll or ExecuteStep calls. If a value is not specified, then the commands use a default transaction object, specified at TFDCustomConnection.Transaction, or an internal connection transaction object.

See Also