CL_DBConnectionProvider Class Reference
[clanDatabase System]

Database connection provider. More...

#include <db_connection_provider.h>

List of all members.

Public Member Functions

Construction

virtual ~CL_DBConnectionProvider ()
Operations

virtual CL_DBCommandProvidercreate_command (const CL_StringRef &text, CL_DBCommand::Type type)=0
 Create database command.
virtual CL_DBTransactionProviderbegin_transaction (CL_DBTransaction::Type type)=0
 Begin a transaction.
virtual CL_DBReaderProviderexecute_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.

Detailed Description

Database connection provider.


Constructor & Destructor Documentation

virtual CL_DBConnectionProvider::~CL_DBConnectionProvider (  )  [inline, virtual]

Member Function Documentation

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.


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