Do trigger change keys also propagate to inverse relationships?
Do trigger change keys also propagate to inverse relationships?
- Subject: Do trigger change keys also propagate to inverse relationships?
- From: email@hidden
- Date: Sat, 7 Jan 2006 12:10:25 -0800
Hi Guys/Gals,
Does anyone know if one sets a key to trigger change notification for
a to-many or to-one relationship, if that relationship has an inverse,
does the NSManagedObject on the other end also get a change
notification? So that I can chain together a change down in one end
to affect objects higher up?
Like so: (this is just a hypothetical example)
Company <-->> Department <-->> Employee <<--> Manager
|
|
|
|
Attribute: All Managers : String
-----------------------------------------
Calculated by sorting and appending
all the managers names strings.
If Manager changed (this is just an example) then employee
triggers its "department" relation changed via
- triggerChangeNotificationsForDependentKey
so in this case, does the department entity's
"employees" relation get a change notification via inverse?
Thanks,
Andre
_______________________________________________
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