Hi!

  That did the trick, thanks!

  (Strange as there's no isChild() method in EOEC... maybe we can add one to 
ERXEC)

  Yours

Miguel Arroz

On 2010/03/17, at 19:25, David LeBer wrote:

> 
> On 2010-03-17, at 3:12 PM, Miguel Arroz wrote:
> 
>> Hi!
>> 
>> How can I check if some EC is a child EC in a reliable way?
>> 
>> Yours
> 
> I think this should work:
> 
>       (myEc.parentObjectStore() instanceof EOEditingContext)
> 
> 
> ;david
> 
> --
> David LeBer
> Codeferous Software
> 'co-def-er-ous' adj. Literally 'code-bearing'
> site:         http://codeferous.com
> blog:         http://davidleber.net
> profile:      http://www.linkedin.com/in/davidleber
> twitter:      http://twitter.com/rebeld
> --
> Toronto Area Cocoa / WebObjects developers group:
> http://tacow.org
> 
> 
> 
> 


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to