YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
DatabaseTransaction.cpp
Go to the documentation of this file.
1
#include "
YAPOG/Database/DatabaseTransaction.hpp
"
2
3
namespace
yap
4
{
5
DatabaseTransaction::DatabaseTransaction
(
pgs::pg_cnx
& databaseConnection)
6
: transaction_ (databaseConnection)
7
{
8
}
9
11
void
DatabaseTransaction::Commit
()
12
{
13
transaction_
.
commit
();
14
}
15
16
void
DatabaseTransaction::RollBack
()
17
{
18
transaction_
.
rollback
();
19
}
20
21
}
// namespace yap
YAPOG
src
YAPOG
Database
DatabaseTransaction.cpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1