Re: adding relation EOs

2016-11-15 Thread Theodore Petrosky
Me being paranoid that’s all …. Thanks for the ec warning. I am going to be asking a bunch of D2W questions in the next weeks. > On Nov 15, 2016, at 5:50 PM, Paul Hoadley wrote: > > Hi Ted, > > On 16 Nov 2016, at 6:09 AM, Theodore Petrosky > wrote: > >> NSArray boo

Re: adding relation EOs

2016-11-15 Thread Paul Hoadley
Hi Ted, On 16 Nov 2016, at 6:09 AM, Theodore Petrosky wrote: > NSArray books = > PersonShowBook.fetchPersonShowBooks(editingContext(), > PersonShowBook.IS_PRIMARY_PLAYER.eq(Boolean.TRUE), null); I can’t imagine a circumstance where they would be different objects, but I would use ‘ec’ here r

adding relation EOs

2016-11-15 Thread Theodore Petrosky
I need to create and add EOs to a relationship when the base EO is created. The end result is that when I create an EO called Event, I want to assign all the related EOs where isPrimaryPlayer is true. I added this to my init method of Event: @Override protected void init(EOEditi