#include <mysqldataprovider.h>
Inheritance diagram for dal::MySqlDataProvider:

Definition at line 41 of file mysqldataprovider.h.
Public Member Functions | |
| MySqlDataProvider (void) throw () | |
| Constructor. | |
| ~MySqlDataProvider (void) throw () | |
| Destructor. | |
| DbBackends | getDbBackend (void) const throw () |
| Get the name of the database backend. | |
| void | connect (const std::string &dbName, const std::string &userName, const std::string &password) |
| Create a connection to the database. | |
| const RecordSet & | execSql (const std::string &sql, const bool refresh=false) |
| Execute a SQL query. | |
| void | disconnect (void) |
| Close the connection to the database. | |
Private Attributes | |
| MYSQL * | mDb |
| the handle to the database connection | |
|
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||||||
|
Create a connection to the database.
Implements dal::DataProvider. |
|
|
Close the connection to the database.
Implements dal::DataProvider. |
|
||||||||||||
|
Execute a SQL query.
Implements dal::DataProvider. |
|
|
Get the name of the database backend.
Implements dal::DataProvider. |
|
|
the handle to the database connection
Definition at line 109 of file mysqldataprovider.h. |
1.3.9.1