Bde.DBTables.TDatabase.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TDatabase(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | TDatabase |
Description
Creates an instance of a TDatabase component.
Call Create to instantiate a database component at run time. An application can create a database component in order to control the component's existence and set its properties and events, or an application can let Delphi create temporary database components as needed at run time.
AOwner
is the component that is responsible for freeing the database instance. It becomes the value of the Owner property.