aboutsummaryrefslogtreecommitdiff
path: root/mssql/template/test.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-12-22 11:33:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-20 15:45:46 +0200
commit089a36ee4a3c7bf6d7288f021f135b8c4ffce8a0 (patch)
tree20f3cb43b7f32f9ff6a5ea243ac85097d7ba512b /mssql/template/test.hxx
parent065bb177141ce0c9963d0100fe5e6800d9235f33 (diff)
Add test template for SQL Server
Diffstat (limited to 'mssql/template/test.hxx')
-rw-r--r--mssql/template/test.hxx27
1 files changed, 27 insertions, 0 deletions
diff --git a/mssql/template/test.hxx b/mssql/template/test.hxx
new file mode 100644
index 0000000..f86c855
--- /dev/null
+++ b/mssql/template/test.hxx
@@ -0,0 +1,27 @@
+// file : mssql/template/test.hxx
+// author : Constantin Michael <constantin@codesynthesis.com>
+// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef TEST_HXX
+#define TEST_HXX
+
+#include <odb/core.hxx>
+
+#pragma db object
+struct object
+{
+ object (unsigned long id)
+ : id_ (id)
+ {
+ }
+
+ object ()
+ {
+ }
+
+ #pragma db id
+ unsigned long id_;
+};
+
+#endif // TEST_HXX