Re: adding relation EOs
Re: adding relation EOs
- Subject: Re: adding relation EOs
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 15 Nov 2016 20:07:21 -0500
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 < email@hidden> wrote:
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