• 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: 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?


-- 
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

  • Follow-Ups:
    • Re: adding relation EOs
      • From: Theodore Petrosky <email@hidden>
References: 
 >adding relation EOs (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: adding relation EOs
  • Next by Date: Re: adding relation EOs
  • Previous by thread: adding relation EOs
  • Next by thread: Re: adding relation EOs
  • Index(es):
    • Date
    • Thread