Re: Filtered to many relationship
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