ClanLib
2.3.7
|
Database transaction. More...
#include <db_transaction.h>
Public Member Functions | |
Attributes | |
CL_DBTransactionProvider * | get_provider () |
Returns the provider interface for this transaction. More... | |
Operations | |
void | commit () |
Commits the transaction. More... | |
void | rollback () |
Rolls the transaction back. More... | |
Construction | |
enum | Type { deferred, immediate, exclusive } |
CL_DBTransaction () | |
Constructs a database transaction. More... | |
CL_DBTransaction (const CL_SharedPtr< CL_DBTransaction_Impl > &impl) | |
Constructs a DBTransaction. More... | |
~CL_DBTransaction () | |
Database transaction.
CL_DBTransaction::CL_DBTransaction | ( | ) |
Constructs a database transaction.
CL_DBTransaction::CL_DBTransaction | ( | const CL_SharedPtr< CL_DBTransaction_Impl > & | impl) |
Constructs a DBTransaction.
impl | = Shared Ptr |
CL_DBTransaction::~CL_DBTransaction | ( | ) |
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.