Re: Traversing keys or EOEntities
Re: Traversing keys or EOEntities
- Subject: Re: Traversing keys or EOEntities
- From: Art Isbell <email@hidden>
- Date: Wed, 12 Feb 2003 17:22:01 -1000
On Wednesday, February 12, 2003, at 04:47 PM, Patrick Whalen wrote:
If I may cut in here...I wonder if you could explain to me why a
person would need to bother creating a relationship if it is not going
to be a class property.
Is there some reason why it is necessary to create 'back'
relationships which will never get used in code?
WO uses inverse relationships for internal purposes, regardless of
whether they're class properties. In most cases, EOF is able to create
inverse relationships for its own use if they haven't been defined in
the eomodel, but in some cases, it's not possible for EOF to determine
how to define certain inverse relationships.
So I always include them but only set those that my code will access
as class properties.
Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.