Many-to-many question ...
Many-to-many question ...
- Subject: Many-to-many question ...
- From: "Shagor Ghani" <email@hidden>
- Date: Wed, 24 Oct 2007 18:17:53 -0700
WOMasters,
Have a quick question around join tables storing M2M relationships. I need to store a M2M relationship and created a table for it using Property>Join in Many-to-Many option from within EOModeler itself. This table has two columns, id1 and id2, both of which are primary and which together produce a unique record. In my code, I've been doing creating new rows into this table using the standard
object.addObjectToBothSidesOfRelationshipWithKey( object, key ) call. Now, though, I also need to store additional values within this record, for example a boolean bit indicating whether the record is active or not. How is this done? If I manually add a 3rd attribute column, what call is then used to update/create new record(s)?
Many thanks for your response,
email@hidden
_______________________________________________
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