Re: adding relation EOs
Re: adding relation EOs
- Subject: Re: adding relation EOs
- From: Paul Hoadley <email@hidden>
- Date: Wed, 16 Nov 2016 09:20:29 +1030
Hi Ted,
On 16 Nov 2016, at 6:09 AM, Theodore Petrosky <email@hidden> wrote:
NSArray<PersonShowBook> 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 rather than ‘editingContext()’, since ‘ec’ is the EC passed to init().
It’s working, but am I stepping on myself?
It looks reasonable to me. Is there anything in particular you’re worried about?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden