Revision f5087482
Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt
example/main.cpp | ||
---|---|---|
qDebug() << e;
|
||
qDebug() << "Tabelle artikel erstellt:" << e->createTable(ep);
|
||
e->create(ep);
|
||
|
||
//qDebug() << e->findById<Artikel *>(1); //not working grml!
|
||
// QSharedPointer<CuteEntityManager::Entity> p = QSharedPointer<CuteEntityManager::Entity>(new Person("Max", "Mustermann", Person::MALE, "", "", "",
|
||
// QDate::currentDate()));
|
||
// auto pptr = p.dynamicCast<CuteEntityManager::Entity>();
|
||
... | ... | |
// e->save(a);
|
||
// }
|
||
// qDebug() << "Dauer:" << t.elapsed();
|
||
|
||
Pupil *p = new Pupil();
|
||
auto hash = p->getMetaProperties();
|
||
// auto iterator = hash.constBegin();
|
Auch abrufbar als: Unified diff
some sql and inheritance stuff,debugging entityinstancefactory