Contents Index Synchronize method Close method pdf/preface.pdf

UltraLite User's Guide
  C++ API Reference

ULData class


Object 

Represents an UltraLite database.

Prototype 

ULData db;
db.Open();

Description 

The ULData class represents an UltraLite database to your application. It provides methods to open and close a database, and to check whether a database is open.

You must open a database before connecting to it or carrying out any other operation, and you must close the database after you have finished all operations on the database, and before your application terminates.

For multi-threaded applications, each thread must create its own ULData. Neither the ULData object nor the other objects inherited from it (ULConnection and other classes) can be shared across threads.

For embedded SQL users, opening a ULData object is equivalent to calling db_init.

For its position in the API hierarchy, see C++ API class hierarchy.

Example 

The following example declares a ULData object and opens it:

ULData db;
db.Open();

Close method
Drop method
IsOpen method
Open method
PalmExit method
PalmLaunch method
Reopen method

Contents Index Synchronize method Close method pdf/preface.pdf