DObject's Components

After installing DObject, a DObject page with 11 components will be added to Delphi's component panel as the following picture:

DObject's components are divided into three species:

Component name

Description

ObjectManager species: offers database operation, object management, session management and transaction management.

TObjectManager

The main user interface in DObject

DataProvider species: the linker between ObjectManager and ConnectionProvider, with which ObjectManager can control different database exactly.

TDataProvider

Offers general database accessing and mostly database supporting SQL-92 can use it.

TAccessDataProvider

Offers accessing to Microsoft Access database.

TOracleDataProvider

Offers accessing to Oracle database.

TSqlServerDataProvider

Offers accessing to Microsoft SQL Server database.

TLocalCache

Offers high-speed caching management of single session, LocalCache must point to another DataProvider

TXmlProvider

Offers accessing to XObject XML database, need no ConnectionProvider

ConnectionProvider species: offers connect channel for DataProvider to database.

TAdoConnectionProvider

Connecting to database via ADO

TBdeConnectionProvider

Connecting to database via BDE

TDbExpressConnectionProvider

Connecting to database via DbExpress

TInterbaseConnectionProvider

Connecting to database via Interbase

Commonly, when DObject is used, the three components above need to be used at the same time: an ObjectManager points to a DataProvider which then points to a ConnectionProvider, and then the ConnectionProvider points to a suitable database connection. The following is a typical application of connecting to SQL Server database via ADO:

 

Related Topics

DObject Introduction