Revision 139a9b5e
Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt
src/entitymanager.cpp | ||
---|---|---|
checkDuplicate, validate, relationsIgnoreHasChanged);
|
||
}
|
||
|
||
bool EntityManager::create(QList<QSharedPointer<Entity> > entities,
|
||
bool EntityManager::create(QList<QSharedPointer<Entity> > &entities,
|
||
const bool persistRelations, const bool validate,
|
||
const bool relationsIgnoreHasChanged, const bool checkDuplicate) {
|
||
bool ok = true;
|
||
... | ... | |
const bool persistRelations, const bool ignoreHasChanged, const bool validate,
|
||
const bool relationsIgnoreHasChanged) {
|
||
bool ok = true;
|
||
auto merged = QList<Entity *>();
|
||
foreach (QSharedPointer<Entity> entity, entities) {
|
||
auto merged = QList<Entity *>();
|
||
ok = this->saveObject(entity, merged, persistRelations,
|
||
ignoreHasChanged, validate, relationsIgnoreHasChanged);
|
||
if (!ok) {
|
Auch abrufbar als: Unified diff
improvements