My Project
|
#include <DatabaseConnection.h>
Public Member Functions | |
int | GetConnectedThreads () |
Gets the connected threads. | |
CStatement * | CreateStatement () |
Creates the statement. | |
CDatabaseMetaData * | GetDatabaseMetaData () |
Gets the database meta data. | |
void | RefreshMetaData () |
Refresh meta data. | |
void | LockDatabase () |
Locks the database. | |
void | ReleaseDatabase () |
Releases a database. | |
Static Public Member Functions | |
static SallyAPI::Database::CDatabaseConnection * | Open (const std::string &file) |
Opens the given file. | |
static void | Close (const std::string &file) |
Closes the given file. | |
static void | Init () |
Initialises this object. | |
static void | Destroy () |
Destroys this object. |
Database connection.
void CDatabaseConnection::Close | ( | const std::string & | file | ) | [static] |
Closes the given file.
file | The file. |
Creates the statement.
void CDatabaseConnection::Destroy | ( | ) | [static] |
Destroys this object.
Gets the connected threads.
Gets the database meta data.
void CDatabaseConnection::Init | ( | ) | [static] |
Initialises this object.
void CDatabaseConnection::LockDatabase | ( | ) |
Locks the database.
SallyAPI::Database::CDatabaseConnection * CDatabaseConnection::Open | ( | const std::string & | file | ) | [static] |
Opens the given file.
file | The file. |
void CDatabaseConnection::RefreshMetaData | ( | ) |
void CDatabaseConnection::ReleaseDatabase | ( | ) |
Releases a database.