Data.DB.TDefCollection

From Appmethod Libraries
Jump to: navigation, search

System.Classes.TOwnedCollectionSystem.Classes.TCollectionSystem.Classes.TPersistentSystem.TObjectTDefCollection

Object Pascal

TDefCollection = class(TOwnedCollection)

C++

class PASCALIMPLEMENTATION TDefCollection : public System::Classes::TOwnedCollection

Properties

Type Visibility Source Unit Parent
class public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

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