Name of table at runtime
Posted: Fri Jun 15, 2012 5:14 pm
Hello
Is there any way to specify table name for the qx::dao functions during runtime ?
Is there any way to specify table name for the qx::dao functions during runtime ?
QxOrm : ORM (Object Relational Mapping) C++ library - QxEntityEditor : graphic editor for QxOrm library
http://www.qxorm.com/forum/phpbb/
Is there any way to specify table name for the qx::dao functions during runtime ?
qx::IxClass * pClass = qx::QxClassX::getClass("myClass");
pClass->setName("myTable2"); // to associate the C++ class "myClass" to the table "myTable2" of database
I asked about side effects because I saw QX_SQL_BUILDER_INIT_FCT macro with static QString sql.