RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSimpleDataSet.Create Constructor

Creates and initializes an instance of TSimpleDataSet.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TSimpleDataSet(TComponent * AOwner);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!