diff options
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 |