clan::DBConnectionProvider Class Referenceabstract

Database connection provider. More...

#include <db_connection_provider.h>

Public Member Functions

Construction
virtual ~DBConnectionProvider ()
 
Operations
virtual DBCommandProvidercreate_command (const std::string &text, DBCommand::Type type)=0
 Create database command. More...
 
virtual DBTransactionProviderbegin_transaction (DBTransaction::Type type)=0
 Begin a transaction. More...
 
virtual DBReaderProviderexecute_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...
 

Detailed Description

Database connection provider.


The documentation for this class was generated from the following file: