IBX.IBCustomDataSet.TIBCustomDataSet.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TIBCustomDataSet(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | IBX.IBCustomDataSet.pas IBX.IBCustomDataSet.hpp |
IBX.IBCustomDataSet | TIBCustomDataSet |
Description
Creates an instance of a TDataSet component.
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.