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
>
>
This archive was generated by hypermail 2.0.0 : Wed Sep 16 2009 - 08:22:45 EDT