Database Classes
The database classes are the heart of the DB Interface Module. This powerful set of classes is designed to encapsulate common database objects.
*RWDBManager, RWDBDatabase, and RWDBConnection manage database sessions.
*RWDBTable, RWDBColumn, RWDBSchema,and RWDBStoredProc represent the database objects that their names suggest.
*RWDBCheckConstraint, RWDBCheckConstraintList, RWDBUniqueConstraint, RWDBUniqueConstraintList, RWDBIdentityConstraint, RWDBForeignKey, RWDBForeignKeyList, and RWDBPrimaryKey support the SQL constraints on data.
*Class RWDBSystemHandle contains all the hooks used by a DB Access Module to interact with the native database API. Every RWDBConnection instance has a pointer to an RWDBSystemHandle. Applications can get direct access to the underlying database API through a connection's system handle.
*Class RWDBEnvironmentHandle lets you set environment attributes for specific databases. Every RWDBDatabase instance has a pointer to an RWDBEnvironmentHandle. To access it, an application calls RWDBDatabase::environmentHandle(), which returns a pointer to the base class of a family of classes that contain implementation-specific information. Of course, using RWDBEnvironmentHandle can reduce the portability of applications.
Most database classes are explained in Chapter 4, The Database Classes. Detailed information for each class is in the SourcePro API Reference Guide.