Database connection provider. More...
#include <db_connection_provider.h>
Public Member Functions | |
Construction | |
virtual | ~DBConnectionProvider () |
Operations | |
virtual DBCommandProvider * | create_command (const std::string &text, DBCommand::Type type)=0 |
Create database command. More... | |
virtual DBTransactionProvider * | begin_transaction (DBTransaction::Type type)=0 |
Begin a transaction. More... | |
virtual DBReaderProvider * | execute_reader (DBCommandProvider *command)=0 |
Begin execution of database command. More... | |
virtual std::string | execute_scalar_string (DBCommandProvider *command)=0 |
Execute database command and returns the first column of the first row. More... | |
virtual int | execute_scalar_int (DBCommandProvider *command)=0 |
Execute database command and returns the first column of the first row. More... | |
virtual void | execute_non_query (DBCommandProvider *command)=0 |
Execute database command. More... | |
Database connection provider.