RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDatabase Class

TDatabase provides discrete control over a connection to a single database in a BDE-based database application.

Pascal
TDatabase = class(TCustomConnection);
C++
class TDatabase : public TCustomConnection;

DBTables

Use TDatabase when a BDE-based database application requires any of the following control over a database connection: 

Persistent database connections 

Customized database server logins 

Transaction control 

Application-specific BDE aliases 

TDatabase is especially important for the control it permits over database transaction processing with the BDE when connected to a remote SQL database server.

Note: Explicit declaration of a TDatabase component for each database connection in an application is optional if the application does not need to explicitly control that connection. If a TDatabase component is not explicitly declared and instantiated for a database connection, a temporary database component with a default set of properties is created for it at runtime.
 

 

TSession 

TSessionList 

Connecting to Databases: Overview 

Associating a Dataset with Database and Session Connections 

Connecting to Databases with TDatabase 

Distributing Database Applications 

Connecting to Databases with TDatabase 

Using TQuery

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!