RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDefCollection Class

TDefCollection holds the definition objects (TNamedItem) that represent the specifications for database entities such as fields or indexes.

Pascal
TDefCollection = class(TOwnedCollection);
C++
class TDefCollection : public TOwnedCollection;

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. 

 

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