[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Instantiate a new TDefCollection instance.
Source position: db.pas line 155
public constructor TDefCollection.create( |
ADataset: TDataSet; |
AOwner: TPersistent; |
AClass: TCollectionItemClass |
); |
ADataset |
|
Dataset to manage definitions for |
AOwner |
|
Owner of the items in the collection. |
AClass |
|
Item class for Add call. |
Create saves the ADataset and AOwner components in local variables for later reference, and then calls the inherited Create with AClass as a parameter. AClass should at least be of type TNamedItem. ADataset is the dataset on whose behalf the collection is managed. AOwner is the owner of the collection, normally this is the form or datamodule on which the dataset is dropped.
|
Base class for records-based data-access |
|
|
Named collection item |