Re: Inherited Relationships using Different Destinations
Re: Inherited Relationships using Different Destinations
- Subject: Re: Inherited Relationships using Different Destinations
- From: David Avendasora <email@hidden>
- Date: Thu, 4 Sep 2008 22:03:16 -0400
So, I need a method on EORlationship so EOGenerator can check a
Relationship to see not only if it is inherited, but if it's
destination entity is different than the inherited method's
destination Entity.
Currently I have:
#if (!$relationship.inherited)
I need something along the lines of:
#if (($relationship.inherited && $relationship.destination.name !=
$relationship.relationshipOnParent.destination.name) || (!
$relationship.inherited))
What do you think, Mike?
Dave
On Sep 4, 2008, at 1:46 PM, Mike Schrag wrote:
Not ENTIRELY true ... you can override the return type to be a
subclass of the parent classes' return type.
_______________________________________________
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