Data.DB.TDefCollection
| [–] Properties | |
|---|---|
| Type: class | |
| Visibility: public | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: Data.DB | |
Delphi
TDefCollection = class(TOwnedCollection)
C++
class PASCALIMPLEMENTATION TDefCollection : public System::Classes::TOwnedCollection
Description
TDefCollection holds the definition objects (TNamedItem) that represent the specifications for database entities such as fields or indexes.
TDefCollection is used as a base class for collections of definition objects such as index or field definitions. TTable objects and TClientDataSet objects use these definition objects to specify the attributes of a database entity before creating the underlying table or dataset.
Use the properties and methods of TDefCollection to:
Access a specific definition object.
Add or delete definition objects from the list.
Find out how many definition objects are defined.
Copy a set of definitions to another dataset.
See Also