diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-16 10:59:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-16 10:59:14 +0200 |
commit | 7e704a7e6e57cf877614fd762d4667ef32be2eea (patch) | |
tree | 167f6059a5a935585499fc006886abc69a4df6c8 /odb/mssql/forward.hxx | |
parent | 9cce004234838754b8bd7776b4ed37686c9a17c2 (diff) |
Add build infrastructure, options file and exceptions implementation
Diffstat (limited to 'odb/mssql/forward.hxx')
-rw-r--r-- | odb/mssql/forward.hxx | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/odb/mssql/forward.hxx b/odb/mssql/forward.hxx new file mode 100644 index 0000000..c81ebf9 --- /dev/null +++ b/odb/mssql/forward.hxx @@ -0,0 +1,63 @@ +// file : odb/mssql/forward.hxx +// author : Constantin Michael <constantin@codesynthesis.com> +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : ODB NCUEL; see accompanying LICENSE file + +#ifndef ODB_MSSQL_FORWARD_HXX +#define ODB_MSSQL_FORWARD_HXX + +#include <odb/pre.hxx> + +#include <odb/forward.hxx> + +namespace odb +{ + namespace mssql + { + class database; + class connection; + typedef details::shared_ptr<connection> connection_ptr; + class connection_factory; + class statement; + class transaction; + class tracer; + class query; + + // Implementation details. + // + enum statement_kind + { + statement_select, + statement_insert, + statement_update + }; + + class binding; + class select_statement; + + template <typename T> + class object_statements; + + template <typename T> + class object_statements_no_id; + + template <typename T> + class view_statements; + + template <typename T> + class container_statements; + } + + namespace details + { + template <> + struct counter_type<mssql::connection> + { + typedef shared_base counter; + }; + } +} + +#include <odb/post.hxx> + +#endif // ODB_MSSQL_FORWARD_HXX |