An existing database may be added or imported to a session by calling the CTSession.AddDatabase() method. Use CTSession.AddDatabase() to add an existing database to the current session. CTSession.AddDatabase() takes a database name and the path where the database is located.
// add MyDatabase to the current session
try
{
ASession.AddDatabase("MyDatabase", "");
}
catch (CTException err)
{
Console.Write("Add database failed with error {0}\n", err.GetErrorCode());
}