Re: EOF inheritance?
Re: EOF inheritance?
- Subject: Re: EOF inheritance?
- From: Chuck Hill <email@hidden>
- Date: Thu, 28 Aug 2003 10:54:01 -0700
At 01:00 PM 27/08/2003 -0500, Jonathan Rochkind wrote:
>
>Can anyone shed light on the EOModelGroup.Delegate methods
>relationshipForRow
>
I've never used that, nor seen it used.
>and subEntityForEntity?
>
I've seen that used with binary PKs. You just hijack a few bits of the key
and encode your entity in those bits. Then implement this delegate to
examine those bits and return the correct entity. WireHose can do this.
Maybe the wiley Gary Teter will add some more information.
Chuck
>I don't really understand how
>they are meant to be used, although it's clear they are relevant for
>inheritance. If anyone has an example, or anything to say that's not found
>in the reference for EOModelGroup.Delegate, that would be useful. I don't
>understand what the dictionary parameter passed to subEntityForEntity is,
>exactly. I also don't understand how you'd effectively use
>relationshipForRow at all, how you'd need to set up your model for this to
>be useful.
>
>--Jonathan
>_______________________________________________
>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.
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
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.