CL_DBTransaction Class Reference
[clanDatabase System]

Database transaction. More...

#include <db_transaction.h>

List of all members.

Public Member Functions

Attributes

CL_DBTransactionProviderget_provider ()
 Returns the provider interface for this transaction.
Operations

void commit ()
 Commits the transaction.
void rollback ()
 Rolls the transaction back.

Construction



enum  Type { deferred, immediate, exclusive }
 CL_DBTransaction ()
 Constructs a database transaction.
 CL_DBTransaction (const CL_SharedPtr< CL_DBTransaction_Impl > &impl)
 Constructs a DBTransaction.
 ~CL_DBTransaction ()

Detailed Description

Database transaction.


Member Enumeration Documentation

Enumerator:
deferred 
immediate 
exclusive 

Constructor & Destructor Documentation

CL_DBTransaction::CL_DBTransaction (  ) 

Constructs a database transaction.

CL_DBTransaction::CL_DBTransaction ( const CL_SharedPtr< CL_DBTransaction_Impl > &  impl  ) 

Constructs a DBTransaction.

Parameters:
impl = Shared Ptr
CL_DBTransaction::~CL_DBTransaction (  ) 

Member Function Documentation

void CL_DBTransaction::commit (  ) 

Commits the transaction.

CL_DBTransactionProvider* CL_DBTransaction::get_provider (  ) 

Returns the provider interface for this transaction.

void CL_DBTransaction::rollback (  ) 

Rolls the transaction back.


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