• 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: Filtered to many relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filtered to many relationship


  • Subject: Re: Filtered to many relationship
  • From: Pierre Bernard <email@hidden>
  • Date: Fri, 02 May 2008 17:56:31 +0200

Mike,

I haven't used this code in ages. Reading the code, it however appears that the filtered array is turned into a fault each time the it is accessed.

This code was used in a dynamic data modeling application where practically all entities had periods of validity. To see the state of the graph at a given point in time, one would set the desired date on an editing context subclass. From then on all relationships would automatically be filtered and thus large parts of the code could just ignore the whole date thing.

Best,
Pierre Bernard
Houdah Software s.à r.l.

On 2 May 2008, at 15:35, Mike Schrag wrote:

The brave may experiment with this:
To save me from having to setup a test case :) Does this stay in sync with updates to the underlying relationship, or do you have to manually manage the invalidation of the filtered array?

ms

_______________________________________________
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

--- Pierre Bernard http://www.bernard-web.com/pierre http://www.houdah.com



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Filtered to many relationship (From: Steve Peery <email@hidden>)
 >Re: Filtered to many relationship (From: Chuck Hill <email@hidden>)
 >Re: Filtered to many relationship (From: Pierre Bernard <email@hidden>)
 >Re: Filtered to many relationship (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: a little unclear on the quoting issue of Entity Modeler
  • Next by Date: Re: NullPropertyException thrown, even though property allows null
  • Previous by thread: Re: Filtered to many relationship
  • Next by thread: Re: Filtered to many relationship
  • Index(es):
    • Date
    • Thread