When does the DENY delete rule in Core Data actually deny deletion of an object?

Posted by dontWatchMyProfile on Stack Overflow See other posts from Stack Overflow or by dontWatchMyProfile
Published on 2010-06-13T09:54:36Z Indexed on 2010/06/13 10:02 UTC
Read the original article Hit count: 178

Filed under:
|

An Employee has an inverse relationship to it's Department and vice versa. The Employee entity has an Relationship called department, and it has a DENY delete rule. Employee shall be deleted. Now: Does DENY actually deny deletion of employee, because department is still referencing a Department? Or does it mean that a Department can't be deleted because an Employee is referencing it?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-data