Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

Working with Databases

A database is a collection of tables and a session may contain several different databases. A database object is required before any table or data operations may take place. The following are typical operations performed on a database:

  • Create a database object
  • Connect to a database by calling CTDatabase::Connect()
  • Perform table, index, field and record operations
  • When you are done with the database, disconnect by calling CTDatabase::Disconnect()
  • Destroy the database object if it was created with the new operator

In This Section

Creating a Database object

Connecting to a database

Database properties

Managing Tables

Next Table

Database Dictionary

TOCIndex