diff options
Diffstat (limited to 'odb/transaction.ixx')
-rw-r--r-- | odb/transaction.ixx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/odb/transaction.ixx b/odb/transaction.ixx new file mode 100644 index 0000000..e6247e6 --- /dev/null +++ b/odb/transaction.ixx @@ -0,0 +1,25 @@ +// file : odb/transaction.ixx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +namespace odb +{ + inline transaction::database_type& transaction:: + database () + { + return impl_->database (); + } + + inline transaction::session_type& transaction:: + session () + { + return impl_->session (); + } + + inline transaction_impl& transaction:: + implementation () + { + return *impl_; + } +} |