Data.SqlExpr.TConnectionData.Create
Delphi
constructor Create(AConnection: TSQLConnection); overload;
constructor Create(AParentData: TConnectionData); overload;
C++
__fastcall TConnectionData(TSQLConnection* AConnection)/* overload */;
__fastcall TConnectionData(TConnectionData* AParentData)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TConnectionData |
Description
Creates and initializes an instance of TConnectionData.
There are two overloaded constructors:
- One that receives as parameter
AConnection
, which is the TSQLConnection for which the connection information is kept. - The other receives as parameter
AParentData
, which represents the information for the parent connection. This is used, for example, when a DelegateConnection is created. This is not a copy constructor.