Re: CoreData many-to-many Relationship Question

2009-07-26 Thread Bryan Henry
Yes, as long as you object graphic consistency for you. You should look at the Core Data Programming Guide, which this excerpt is from: "Since Core Data takes care of the object graph consistency maintenance for you, you only need to change one end of a relationship and all other aspects ar

CoreData many-to-many Relationship Question

2009-07-26 Thread Jean-Nicolas Jolivet
I'm using a many-to-many relationship with CoreData and I was wondering if I have to set or unset the relationshop both ways? For example, let's say I have a many-to-many relationship between an Employee entity and a Manager entity...if I do the following: [anEmployee addManagersObject:aManager];