Revision 98ac5809
Von Christian Ehringfeld vor etwa 9 Jahren hinzugefügt
src/entitymanager.cpp | ||
---|---|---|
}
|
||
}
|
||
|
||
bool EntityManager::canPersistRelation(const Relation &relation,
|
||
const RelationType &r, const QVariant &var) const {
|
||
return relation.getType() == r && var.canConvert<QVariantList>();
|
||
}
|
||
|
||
/**
|
||
* @brief EntityManager::savePrePersistedRelations
|
||
* @param entity
|
src/entitymanager.h | ||
---|---|---|
QString createConnection();
|
||
QList<QHash<QString, QVariant> > convertQueryResult(QSqlQuery &q);
|
||
void checkRelation(const QVariant &entity, const Relation &r) const;
|
||
bool canPersistRelation(const Relation &relation, const RelationType &r,
|
||
const QVariant &var) const;
|
||
bool checkTable(const QSharedPointer<Entity> &entity);
|
||
QSharedPointer<QueryInterpreter> queryInterpreter;
|
||
|
Auch abrufbar als: Unified diff
dead code...