first commit

This commit is contained in:
bing
2026-04-03 11:32:07 +08:00
commit 003be19522
1142 changed files with 185854 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#include "../include/precompiled.h"
#include "../include/Bar.h"
#include "../include/Foo.h"
#include <QxOrm_Impl.h>
QX_REGISTER_CPP_QX_DLL2(Bar)
QX_PERSISTABLE_CPP(Bar)
namespace qx {
template <> void register_class(QxClass<Bar> & t)
{
IxDataMember * pData = NULL;
IxSqlRelation * pRelation = NULL;
t.setSoftDelete(qx::QxSoftDelete("deleted_at"));
pData = t.data(& Bar::m_sCode, "code");
pData = t.data(& Bar::m_sValue, "value");
pRelation = t.relationManyToOne(& Bar::m_pFoo, "foo_id");
}}