FireDAC.Comp.Client.TFDCustomConnection.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
Unit: FireDAC.Comp.Client
Parent: TFDCustomConnection

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TFDCustomConnection(System::Classes::TComponent* AOwner);

Description

Creates an instance of TCustomConnection.

FireDAC.Comp.Client.TFDCustomConnection.Create inherits from Data.DB.TCustomConnection.Create. All content below this line refers to Data.DB.TCustomConnection.Create.

Creates an instance of TCustomConnection.

Call Create to instantiate a connection component at runtime. Connection components added to forms or data modules at design time are created automatically.

The Owner parameter specifies another component (usually a form or data module) that is responsible for freeing the connection component.

See Also