Re: Core Data: inverse relationship not updated until next Run Loop

2010-03-12 Thread Eric Lin
I see. Thanks for both of your responses. Eric On Thu, Mar 11, 2010 at 10:26 PM, Frank Illenberger wrote: > >> In using Core Data, I was under the impression that if I do this: > >> > >> [department addEmployeesObject:employee] // department now has 1 > employee > >> [moc deleteObject:employee]

Re: Core Data: inverse relationship not updated until next Run Loop

2010-03-11 Thread Frank Illenberger
>> In using Core Data, I was under the impression that if I do this: >> >> [department addEmployeesObject:employee] // department now has 1 employee >> [moc deleteObject:employee] >> >> Then department will end up with no employees, assuming that the inverse >> relationship is set correctly. >>

Re: Core Data: inverse relationship not updated until next Run Loop

2010-03-11 Thread Jim Correia
On Mar 11, 2010, at 8:11 PM, Eric Lin wrote: > In using Core Data, I was under the impression that if I do this: > > [department addEmployeesObject:employee] // department now has 1 employee > [moc deleteObject:employee] > > Then department will end up with no employees, assuming that the inver