Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f9cef58f

Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt

  • ID f9cef58fafc20e2a2c6b75fae4e0546de9777be3
  • Vorgänger 09b2592d
  • Nachfolger e8d1537c

wip...

Unterschiede anzeigen:

samples/example/models/address.cpp
const QHash<QString, CuteEntityManager::Relation> Address::getRelations()
const {
auto hash = Entity::getRelations();
hash.insert("persons", CuteEntityManager::Relation("persons",
RelationType::MANY_TO_MANY,
QString("addresses")));
// hash.insert("persons", CuteEntityManager::Relation("persons",
// RelationType::MANY_TO_MANY,
// QString("addresses")));
hash.insert("pupils", CuteEntityManager::Relation("pupils",
RelationType::MANY_TO_MANY,
QString("addresses")));

Auch abrufbar als: Unified diff