• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOF inheritance?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: weird EOF exception in propagateDeleteWithEditingContext
  • Next by Date: Re: weird EOF exception in propagateDeleteWithEditingContext
  • Previous by thread: Re: EOF inheritance?
  • Next by thread: weird EOF exception in propagateDeleteWithEditingContext
  • Index(es):
    • Date
    • Thread