Re: You crossed editing context boundaries...
Re: You crossed editing context boundaries...
- Subject: Re: You crossed editing context boundaries...
- From: Lachlan Deck <email@hidden>
- Date: Wed, 15 Oct 2008 08:21:06 +1100
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden