FireDAC.Comp.Script.TFDScript.Connection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Connection: TFDCustomConnection read FConnection write SetConnection;

C++

__property Firedac::Comp::Client::TFDCustomConnection* Connection = {read=FConnection, write=SetConnection};

Properties

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

Description

Specifies a connection object.

The Connection property value points to a connection object.

The Connection property value must be specified before the ExecuteXxx or ValidateXxx calls. When it is required, the connection object is activated. To control the transaction, the Transaction property can be used additionally.

The connection can be changed from the script using CONNECT <connection string command>.

See Also