I think context.invalidateObjects(..) should do the trick.

Andrus

On Sep 16, 2009, at 3:20 AM, Lachlan Deck wrote:

Hi there,

say an object has been marked for deletion [getObjectContext.deleteObject(foo)] but prior to commit you want to reverse that - but without discarding other changes in the context... what's the trick?

Thanks.

with regards,
--

Lachlan Deck



Reply via email to