Re: Problem with relationships in Core Data
Re: Problem with relationships in Core Data
- Subject: Re: Problem with relationships in Core Data
- From: "I. Savant" <email@hidden>
- Date: Tue, 26 Sep 2006 11:40:46 -0400
See NSArrayController's -fetch: method.
--
I.S.
On Sep 26, 2006, at 10:30 AM, Remco Poelstra wrote:
Hi,
I've a problem with the relationships in Core Data.
I've two entities A and B. The both link in an inverse relationship to
each other. I've two array controllers, one which manages all A
entities,
the other which manages the B entities which are in the relation
from A to
B.
When send a remove message to the B controller, the relation from A
to B
is updated to reflect the fact that the selected B entity is
removed. The
problem now is that the B entity still keeps it's reference to
entity A.
Shouldn't the arraycontroller update that relationship? Or do I've
to do
that myself?
Thanks in advance,
Remco Poelstra
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden