Ah, okay, gotcha.
-Lon
On Wed, Jun 22, 2016 at 6:50 AM, Michael Gentry wrote:
> Hi Lon,
>
> Removing an object doesn't do a delete. You also have to do a
> context.deleteObject(..) if you want to delete it. The reason is so that
> you can do something like this:
>
> order = // some existing o
Hi Lon,
Removing an object doesn't do a delete. You also have to do a
context.deleteObject(..) if you want to delete it. The reason is so that
you can do something like this:
order = // some existing order
order.removeFromUnfilledItems(item);
order.addToFilledItems(item);
context.commitChanges(
Does removeToManyTarget cause the object to be deleted from the context if
the “to dep key” box is checked from the master->detail? I’m removing a
detail object where this configuration is set, but it’s triggering an
update and not a delete.
Thanks,
Lon