Data.SqlExpr.TConnectionData.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

constructor Create(AConnection: TSQLConnection); overload;
constructor Create(AParentData: TConnectionData); overload;

C++

__fastcall TConnectionData(TSQLConnection* AConnection)/* overload */;
__fastcall TConnectionData(TConnectionData* AParentData)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TConnectionData

Beschreibung

Erstellt und initialisiert eine Instanz von TConnectionData.

Es gibt zwei überladene Konstruktoren:

  • Ein Konstruktor, der AConnection als Parameter empfängt. Dieser Parameter ist die TSQLConnection-Instanz, für die die Verbindungsinformationen enthalten sind.
  • Der zweite Konstruktor empfängt AParentData als Parameter, der die Informationen für die übergeordnete Verbindung repräsentiert. Der Konstruktor wird beim Erstellen einer DelegateConnection-Instanz verwendet. Dieser ist nicht ein Kopierkonstruktor.

Siehe auch