Re: changed objects
Re: changed objects
- Subject: Re: changed objects
- From: Pascal Robert <email@hidden>
- Date: Mon, 28 Mar 2011 14:25:33 -0400
Le 2011-03-28 à 14:16, Theodore Petrosky a écrit :
> OK I thought I did this before but I can not think of how I did it.
>
> I have an EC made with: theEC = ERXEC.newEditingContext();
>
> I then get a list and use a displayGroup to display it in a table. I want to make a few edits, then ask the EC for the changed objects.
>
> NSLog.out.appendln("checkAltered == " + theEC.updatedObjects());
>
> updatedOjbects returns all the objects in the array. I just want the ones that were altered. Is there a way?
updateObjects should return only what changed, if you get everything, something in your code is touching each EOs.
--
Pascal Robert
email@hidden
AIM/iChat : MacTICanada
LinkedIn : http://www.linkedin.com/in/macti
Twitter : pascal_robert
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden