Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

Managing Databases

Once the user performs a successful Session logon, the session object can be used to operate on databases.

Every time a new database is created, or an existing database is added to a session, the database properties such as database name and path are placed in an entry of the database dictionary file.

Every time a user activates a database by connecting to it using the CTDatabase.Connect() method, the database is placed in a list of active (connected) databases within the session. When a database is deactivated or disconnected by the CTDatabase.Disconnect() method, the database is removed from the list of active databases.

In This Section

Creating a New Database

Adding an Existing Database

Dropping a Database

Deleting a Database

First Database

Next Database

Find Database

Database UID (Unique Identifier)

Find Database by UID

TOCIndex