Re: Cascade Delete won't delete Department in Apple Sample Code
Re: Cascade Delete won't delete Department in Apple Sample Code
- Subject: Re: Cascade Delete won't delete Department in Apple Sample Code
- From: Quincey Morris <email@hidden>
- Date: Tue, 23 Jun 2009 17:15:35 -0700
On Jun 23, 2009, at 16:23, Jerry Krinock wrote:
The documentation of the NSDeleteRule simply states:
"NSCascadeDeleteRule. If the object is deleted, the destination
object or objects of this relationship are also deleted."
That's all, chief. There is an "if", but there are no "ands" or
"buts". This statement even goes out of its way to define what
happens in case there is only a singular "object". It's deleted.
Gone. Period. No questions. No prisoners.
Well, I didn't mean the documentation was correct as is. I meant to
suggest the actual behavior is correct (in the sense of being as
intended), and it's the documentation that needs to be fixed. :)
So, this one gets a Bug Report. 7000470. (Did the person who filed
7000000 get a free iPod?)
I think that person got a free bug.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden