On 15/10/2008, at 8:13 AM, Clark Mueller wrote:

You need to get a local copy of the object in the editing context where you are trying to make the relationship. Have a look at EOUtilities.localInstanceOfObject(ec, object).

Clark

On Oct 14, 2008, at 2:09 PM, WebObjects wrote:

Hello, Im trying to use this method :

addObjectsToBothSidesOfRelationshipWithKey(NSArray obj1, String arg1)

or something like that.

What I have is my Employee and the turns that tis particular Employee selected. I dunno if I should use the method above or the other one with the same name, but with other arguments, (EORleationShipManipulation eo, String arg1).

addObject takes a single object, addObjects takes an array of objects - which is only relevant if you are adding multiple objects to a toMany relationship.

with regards,
--

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to