diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-28 15:08:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-11-28 15:08:56 +0200 |
commit | 91c962e4615101e14be4c720fc386878ddb598a4 (patch) | |
tree | 9c62ace7ee457f9e7c1edd9c89a5b6fba274d363 /odb/mssql/binding.hxx | |
parent | 8823eb1c28f6589068a080a68283a8ddb47cb71b (diff) |
Implement statements; add support for tracing
Diffstat (limited to 'odb/mssql/binding.hxx')
-rw-r--r-- | odb/mssql/binding.hxx | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/odb/mssql/binding.hxx b/odb/mssql/binding.hxx new file mode 100644 index 0000000..f8f4fc4 --- /dev/null +++ b/odb/mssql/binding.hxx @@ -0,0 +1,45 @@ +// file : odb/mssql/binding.hxx +// author : Constantin Michael <constantin@codesynthesis.com> +// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC +// license : ODB NCUEL; see accompanying LICENSE file + +#ifndef ODB_MSSQL_BINDING_HXX +#define ODB_MSSQL_BINDING_HXX + +#include <odb/pre.hxx> + +#include <cstddef> // std::size_t + +#include <odb/mssql/version.hxx> +#include <odb/mssql/mssql-types.hxx> + +#include <odb/mssql/details/export.hxx> + +namespace odb +{ + namespace mssql + { + class LIBODB_MSSQL_EXPORT binding + { + public: + typedef mssql::bind bind_type; + + binding (bind_type* b, std::size_t n) + : bind (b), count (n), version (0) + { + } + + bind_type* bind; + std::size_t count; + std::size_t version; + + private: + binding (const binding&); + binding& operator= (const binding&); + }; + } +} + +#include <odb/post.hxx> + +#endif // ODB_MSSQL_BINDING_HXX |