Revision e5ce87e2
Von Christian Ehringfeld vor mehr als 10 Jahren hinzugefügt
| src/entitymanager.cpp | ||
|---|---|---|
|
const char *classname) {
|
||
|
auto ptr = QSharedPointer<Entity>(EntityInstanceFactory::createInstance(
|
||
|
classname, map));
|
||
|
this->resolveRelations(ptr, map);
|
||
|
this->cache.insert(ptr);
|
||
|
return ptr;
|
||
|
}
|
||
| ... | ... | |
|
const Relation &r,
|
||
|
const QMetaProperty &property,
|
||
|
const QVariant &id) {
|
||
|
qint64 convertedId = -1;
|
||
|
bool ok = false;
|
||
|
if (r.getMappedBy().isEmpty()) {
|
||
|
this->manyToOne(entity, id, property);
|
||
|
} else {
|
||
Auch abrufbar als: Unified diff
unused variables