From 089a36ee4a3c7bf6d7288f021f135b8c4ffce8a0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 22 Dec 2011 11:33:15 +0200 Subject: Add test template for SQL Server --- mssql/template/test.hxx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 mssql/template/test.hxx (limited to 'mssql/template/test.hxx') 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 +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef TEST_HXX +#define TEST_HXX + +#include + +#pragma db object +struct object +{ + object (unsigned long id) + : id_ (id) + { + } + + object () + { + } + + #pragma db id + unsigned long id_; +}; + +#endif // TEST_HXX -- cgit v1.1