(newbie)saving many-to-many relationship
(newbie)saving many-to-many relationship
- Subject: (newbie)saving many-to-many relationship
- From: Tom Jones <email@hidden>
- Date: Sun, 12 Sep 2004 02:09:16 -0500
I have to entities requirements and tasks, a task can fulfiull several
requirements, a requirement can be fulfilled by several tasks. A user
creates the relationship between the two by choosing requirements from
a WOBrowser, with multiple select enabled. Do I need to call
addObjectToBothSidesOfRelationshipWithKey for each requirement
selected, or is it sufficient to just call it once and pass the
entire array of requirements.
If the former is the correct way, how does one update the task, do you
first remove all of the requirements and then add the selected items
to both sides?
Thanks, Tom
_______________________________________________
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