Revision 90a480b4
Von Sebastian Diel vor etwa 10 Jahren hinzugefügt
| src/entitymanager.cpp | ||
|---|---|---|
|
this->schema->getQueryBuilder()->columnNameIDAppendix();
|
||
|
QString relKey = i.key();
|
||
|
QVariant v = entity->getProperty(relKey.remove(relKey.size() - appendix.size(),
|
||
|
appendix.size()));
|
||
|
if (!v.isNull()) {
|
||
|
auto entity = EntityInstanceFactory::castQVariant(v);
|
||
|
if (entity->getProperty(entity->getPrimaryKey()) != i.value()) {
|
||
|
appendix.size()));
|
||
|
if (v.isValid() && !v.isNull()) {
|
||
|
auto e = EntityInstanceFactory::castQVariant(v);
|
||
|
if (e->getProperty(entity->getPrimaryKey()) != i.value()) {
|
||
|
changed = true;
|
||
|
break;
|
||
|
}
|
||
Auch abrufbar als: Unified diff
fix
Conflicts:
src/entitymanager.cpp