Core Data - Breaking A Relationship

Posted by Garry on Stack Overflow See other posts from Stack Overflow or by Garry
Published on 2010-03-21T08:35:58Z Indexed on 2010/03/21 8:41 UTC
Read the original article Hit count: 339

Hi,

I have a Patient entity and a List entity. A Patient can belong to several different lists and a list can have several different patients.

Say I have a patient who belongs to 3 lists (A, B, C). I want to remove the patient from lists A & B. I do not want to delete lists A & B themselves though obviously. How do I go about doing this?

© Stack Overflow or respective owner

Related posts about core-data

Related posts about iphone