RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBCustomDataSet.Create Constructor

Creates an instance of a TDataSet component.

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

Call Create to instantiate a dataset component at runtime. Ordinarily applications instantiate dataset descendants, such as TIBTable, TIBQuery, TIBDataSet, or TIBStoredProc, rather than TIBCustomDataSet. These instantiated objects are handled automatically. 

On the other hand, applications that create specialized dataset components, such as custom components, may need to instantiate a TIBCustomDataSet component by calling Create. Create:

  • Calls the inherited Create for TDataSet.
  • Creates the five query objects.
  • Creates the base object to hold the reference to the database and transaction.
  • Associates database and transaction related events to the base object component.

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!