diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-09-10 14:10:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-09-10 14:10:45 +0200 |
commit | d3ec68714365046a30379a410cdff52e5f5ae066 (patch) | |
tree | 36b971dd06626cc39b51eb0ec6e7f4f3ca40fcba /odb/mssql/polymorphic-object-result.hxx | |
parent | 88f3f0282bad25c962783defa1e34dcbec60a07c (diff) |
Schema versioning support
Diffstat (limited to 'odb/mssql/polymorphic-object-result.hxx')
-rw-r--r-- | odb/mssql/polymorphic-object-result.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/mssql/polymorphic-object-result.hxx b/odb/mssql/polymorphic-object-result.hxx index 91b5bfe..bb353b5 100644 --- a/odb/mssql/polymorphic-object-result.hxx +++ b/odb/mssql/polymorphic-object-result.hxx @@ -9,6 +9,7 @@ #include <cstddef> // std::size_t +#include <odb/schema-version.hxx> #include <odb/polymorphic-object-result.hxx> #include <odb/details/shared-ptr.hxx> @@ -16,6 +17,7 @@ #include <odb/mssql/version.hxx> #include <odb/mssql/forward.hxx> // query_base #include <odb/mssql/statement.hxx> +#include <odb/mssql/traits-calls.hxx> namespace odb { @@ -48,7 +50,8 @@ namespace odb polymorphic_object_result_impl (const query_base&, details::shared_ptr<select_statement>, - statements_type&); + statements_type&, + const schema_version_migration*); virtual void load (object_type*, bool fetch); @@ -82,6 +85,7 @@ namespace odb private: details::shared_ptr<select_statement> statement_; statements_type& statements_; + object_traits_calls<object_type> tc_; bool can_load_; bool use_copy_; image_type* image_copy_; |