Re: Bindings From 2 Entities - How?
Re: Bindings From 2 Entities - How?
- Subject: Re: Bindings From 2 Entities - How?
- From: Art Isbell <email@hidden>
- Date: Wed, 5 Mar 2003 08:39:04 -1000
On Wednesday, March 5, 2003, at 07:45 AM, Jonathan Fleming wrote:
Firstly, the EOModel Entity relationships are TbNavPage(toOne) >> <
(toMany)TbNavPageContentPosition
The statements code below make up a fetch specification from the
attributes of the Entity TbNavPageContentPosition
but there is an attribute in the toOne table/entity - TbNavPage -
which I would like to include in the bindings.
How do I fix this (if possible) so that I can uncomment the 2 bits of
offending code and include the property navPageName from the TbNavPage
entity/table?
Use key paths rather than just keys. E.g., "tbNavPage.navPageName",
assuming that the to-one relationship's name is "tbNavPage".
Aloha,
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.