diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-20 15:46:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-20 15:46:21 +0200 |
commit | f53b4dc54ed37169544ce7c080e194aab3d853f3 (patch) | |
tree | 4a848796d92aef7b5f231f1b28659fbba803b6ec /bulk/person.hxx | |
parent | a9f085737d0c1c32edfc67f10af6ad9cd4572400 (diff) |
Add testbulk
Diffstat (limited to 'bulk/person.hxx')
-rw-r--r-- | bulk/person.hxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/bulk/person.hxx b/bulk/person.hxx deleted file mode 100644 index 177d4ce..0000000 --- a/bulk/person.hxx +++ /dev/null @@ -1,29 +0,0 @@ -// file : hello/person.hxx -// copyright : not copyrighted - public domain - -#ifndef PERSON_HXX -#define PERSON_HXX - -#include <string> - -#include <odb/core.hxx> - -#pragma db object bulk(3) -class person -{ -public: - #pragma db id auto - unsigned long id; - - #pragma db unique - unsigned int num; - -#ifdef ODB_DATABASE_MSSQL - #pragma db type("VARCHAR(max)") -#else - #pragma db type("CLOB") -#endif - std::string str; -}; - -#endif // PERSON_HXX |