Re: Problems with addObjectToBothSidesOfRelationshipWithKey
Re: Problems with addObjectToBothSidesOfRelationshipWithKey
- Subject: Re: Problems with addObjectToBothSidesOfRelationshipWithKey
- From: Lachlan Deck <email@hidden>
- Date: Fri, 19 Oct 2007 11:36:23 +1000
Hi Owen,
On 19/10/2007, at 11:24 AM, Owen McKerrow wrote:
Im having a problem with addObjectToBothSidesOfRelationshipWithKey,
either that or I don't understand how its meant to work correctly.
That is when you use addObjectToBothSidesOfRelationshipWithKey the
relationships between both objects should be updated. So if you
have a relationship between a dog and a cat, when you use
addObjectToBothSidesOfRelationshipWithKey to set the dog's
relationship to cat, its should auto set the cat's relationship
back to the dog.
Try the ol' removeObjectFromBothSidesForKey on objects you're re-
pointing elsewhere.
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