What does -setPropagatesDeletesAtEndOfEvent: actually do?
Posted
by dontWatchMyProfile
on Stack Overflow
See other posts from Stack Overflow
or by dontWatchMyProfile
Published on 2010-06-11T11:07:55Z
Indexed on
2010/06/11
11:12 UTC
Read the original article
Hit count: 158
Let me try it: If I don't set this, then the default value is YES. So when I delete an managed object from the context, the context propagates this immediately to the persistent store so the object is gone?
And when I set this to NO, then objects are deleted from the persistent store only when calling -save?
Is that really true? I mean: If it was true, then the default behavior is that once you call the context to delete an object, the object is gone. Lets assume you're not using an undo manager. So... gone. Right? No rollback possible? Or can it still be recovered with a rollback?
© Stack Overflow or respective owner