46 #ifndef __WTX_WEB_BLOGENTRY_ITEM_H___ 47 #define __WTX_WEB_BLOGENTRY_ITEM_H___ 60 Item(
const std::string & keyField =
"" )
66 :
Template( other.keyField().value() )
70 template<
class Action>
void persist(Action &a)
75 static Definition & TableDef() {
return s_tableDef; }
77 static void MapClass( Wt::Dbo::Session & session )
80 Wt::registerType<Item>();
81 Wt::registerType< Wt::Dbo::ptr<Item> >();