4.6.2.3 CTDatabase.AddTable
Syntax
void AddTable( String Name, String Path)Parameters
Description
Adds an existing table to the database. It is possible to add c-tree Plus files to an existing database if this file has the incremental and DODA structures stored. See Section 3.8 "Compatibility" on page 3-89 regarding compatibility issues.
A table that has been created independent from a database, or in a different database may also be added to the current database.
Return
None.
Example
ADatabase.Connect();try{ADatabase.AddTable(my_old_c-tree_file, path);Console.Write("\nTable added succesfully!!");}catch (CTException err){Console.Write("\n\n{0} {1}",err.GetErrorCode(), err.GetErrorMsg());return (1);}See Also
DropTable, DeleteTable, CreateTable
|
FairCom Corporation www.faircom.com |