API:FireDAC.Comp.Client.TFDTransaction.Connection

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: TFDTransaction

Delphi

property Connection;

C++

__property Connection;

Description

Specifies the connection component that actually forms the connection to the DBMS.

FireDAC.Comp.Client.TFDTransaction.Connection inherits from FireDAC.Comp.Client.TFDCustomTransaction.Connection. All content below this line refers to FireDAC.Comp.Client.TFDCustomTransaction.Connection.

Specifies the connection component that actually forms the connection to the DBMS.

Set Connection to the connection component that establishes a connection to the DBMS.

If the Connection property value is changed while the transaction is active, an exception is raised.

See Also