From bbb153b9e576cdfdb59711f68d7f26a427a55041 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 12 Jan 2012 09:28:06 +0200 Subject: Query support for SQL Server --- odb/mssql/query.ixx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 odb/mssql/query.ixx (limited to 'odb/mssql/query.ixx') diff --git a/odb/mssql/query.ixx b/odb/mssql/query.ixx new file mode 100644 index 0000000..5772fd0 --- /dev/null +++ b/odb/mssql/query.ixx @@ -0,0 +1,28 @@ +// file : odb/mssql/query.ixx +// author : Constantin Michael +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : ODB NCUEL; see accompanying LICENSE file + +namespace odb +{ + namespace mssql + { + template + inline void query:: + append (val_bind v) + { + add ( + details::shared_ptr ( + new (details::shared) query_param_impl (v))); + } + + template + inline void query:: + append (ref_bind r) + { + add ( + details::shared_ptr ( + new (details::shared) query_param_impl (r))); + } + } +} -- cgit v1.1