// file : odb/mssql/transaction-impl.hxx // license : ODB NCUEL; see accompanying LICENSE file #ifndef ODB_MSSQL_TRANSACTION_IMPL_HXX #define ODB_MSSQL_TRANSACTION_IMPL_HXX #include #include #include #include #include namespace odb { namespace mssql { class LIBODB_MSSQL_EXPORT transaction_impl: public odb::transaction_impl { public: typedef mssql::database database_type; typedef mssql::connection connection_type; transaction_impl (database_type&); transaction_impl (connection_ptr); virtual ~transaction_impl (); virtual void start (); virtual void commit (); virtual void rollback (); private: connection_ptr connection_; }; } } #include #endif // ODB_MSSQL_TRANSACTION_IMPL_HXX