Re: Question on addObjectToBothSidesOfRelationshipWithKey
Re: Question on addObjectToBothSidesOfRelationshipWithKey
- Subject: Re: Question on addObjectToBothSidesOfRelationshipWithKey
- From: Lachlan Deck <email@hidden>
- Date: Wed, 25 Jul 2007 12:29:52 +1000
On 25/07/2007, at 5:57 AM, James Cicenia wrote:
I checked the model "carefully"...
the relationship from pn -- ndt is such where ndt uses vertical
inheritance so has a qualifier in it.
If you're using vertical inheritance the rule-of-thumb I found that
works is: 'every non-class foreign key in parent entity must be set
as class property in sub-entities'
Otherwise EOF gets confused and doesn't properly create the
relationships... you can try this out in a D2W app to see when the
relationship is properly created or not.
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