Database connection provider. More...
#include <db_connection_provider.h>
Public Member Functions | |
Construction | |
virtual | ~CL_DBConnectionProvider () |
Operations | |
virtual CL_DBCommandProvider * | create_command (const CL_StringRef &text, CL_DBCommand::Type type)=0 |
Create database command. | |
virtual CL_DBTransactionProvider * | begin_transaction (CL_DBTransaction::Type type)=0 |
Begin a transaction. | |
virtual CL_DBReaderProvider * | execute_reader (CL_DBCommandProvider *command)=0 |
Begin execution of database command. | |
virtual CL_String | execute_scalar_string (CL_DBCommandProvider *command)=0 |
Execute database command and returns the first column of the first row. | |
virtual int | execute_scalar_int (CL_DBCommandProvider *command)=0 |
Execute database command and returns the first column of the first row. | |
virtual void | execute_non_query (CL_DBCommandProvider *command)=0 |
Execute database command. |
Database connection provider.
virtual CL_DBConnectionProvider::~CL_DBConnectionProvider | ( | ) | [inline, virtual] |
virtual CL_DBTransactionProvider* CL_DBConnectionProvider::begin_transaction | ( | CL_DBTransaction::Type | type | ) | [pure virtual] |
Begin a transaction.
virtual CL_DBCommandProvider* CL_DBConnectionProvider::create_command | ( | const CL_StringRef & | text, | |
CL_DBCommand::Type | type | |||
) | [pure virtual] |
Create database command.
virtual void CL_DBConnectionProvider::execute_non_query | ( | CL_DBCommandProvider * | command | ) | [pure virtual] |
Execute database command.
virtual CL_DBReaderProvider* CL_DBConnectionProvider::execute_reader | ( | CL_DBCommandProvider * | command | ) | [pure virtual] |
Begin execution of database command.
virtual int CL_DBConnectionProvider::execute_scalar_int | ( | CL_DBCommandProvider * | command | ) | [pure virtual] |
Execute database command and returns the first column of the first row.
virtual CL_String CL_DBConnectionProvider::execute_scalar_string | ( | CL_DBCommandProvider * | command | ) | [pure virtual] |
Execute database command and returns the first column of the first row.