SimpleDS.TSimpleDataSet.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TSimpleDataSet(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | SimpleDS.pas SimpleDS.hpp |
SimpleDS | TSimpleDataSet |
Description
Creates and initializes an instance of TSimpleDataSet.
Call Create to create TSimpleDataSet at runtime. Datasets added to forms or data modules at design time are created automatically.
AOwner is the component that is responsible for freeing the TSimpleDataSet instance. If AOwner is nil (Delphi) or NULL (C++), the application must explicitly free the dataset.
Create creates the internal source dataset and provider that fetch data from the database server and apply updates back to the database server.