• 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
Do trigger change keys also propagate to inverse relationships?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: is this string styled?
  • Next by Date: NSAttributedString: lossy attachments when serializing/archiving?
  • Previous by thread: Re: one window with two documents
  • Next by thread: NSAttributedString: lossy attachments when serializing/archiving?
  • Index(es):
    • Date
    • Thread