ClanLib  2.3.7
List of all members
CL_DBConnectionProvider Class Referenceabstract

Database connection provider. More...

#include <db_connection_provider.h>

Public Member Functions

Construction
virtual ~CL_DBConnectionProvider ()
 
Operations
virtual CL_DBCommandProvidercreate_command (const CL_StringRef &text, CL_DBCommand::Type type)=0
 Create database command. More...
 
virtual CL_DBTransactionProviderbegin_transaction (CL_DBTransaction::Type type)=0
 Begin a transaction. More...
 
virtual CL_DBReaderProviderexecute_reader (CL_DBCommandProvider *command)=0
 Begin execution of database command. More...
 
virtual CL_String execute_scalar_string (CL_DBCommandProvider *command)=0
 Execute database command and returns the first column of the first row. More...
 
virtual int execute_scalar_int (CL_DBCommandProvider *command)=0
 Execute database command and returns the first column of the first row. More...
 
virtual void execute_non_query (CL_DBCommandProvider *command)=0
 Execute database command. More...
 

Detailed Description

Database connection provider.

Constructor & Destructor Documentation

virtual CL_DBConnectionProvider::~CL_DBConnectionProvider ( )
inlinevirtual

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: