• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: adding relation EOs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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?


-- 
Paul Hoadley
http://logicsquad.net/
https://www.linkedin.com/company/logic-squad/


 _______________________________________________
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

References: 
 >adding relation EOs (From: Theodore Petrosky <email@hidden>)
 >Re: adding relation EOs (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: adding relation EOs
  • Next by Date: macOS Sierra Occasionally Very Slow
  • Previous by thread: Re: adding relation EOs
  • Next by thread: macOS Sierra Occasionally Very Slow
  • Index(es):
    • Date
    • Thread