• 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
ERXPartialEntity doesn't return correct values for classPropertyNames method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERXPartialEntity doesn't return correct values for classPropertyNames method


  • Subject: ERXPartialEntity doesn't return correct values for classPropertyNames method
  • From: David Holt <email@hidden>
  • Date: Fri, 24 May 2013 16:20:53 -0700

Hi all (and especially David Aspinall or Paul Hoadly),

I've just discovered that when you call classPropertyNames() on an Entity that has a partial associated with it, the base classPropertyNames are returned correctly, but ALL of the properties are returned for the partial class. This applies to both attributes and relationships. Does anyone know why that might be?

Here is what I used to test it in my Application:

log.info("Class properties for ERXPartialEntity " + EOUtilities.entityForClass(ERXEC.newEditingContext(), Person.class).classPropertyNames());

Thanks,
David
 _______________________________________________
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

  • Prev by Date: Re: ERWebSocketExample
  • Next by Date: Re: ERXPartialEntity doesn't return correct values for classPropertyNames method
  • Previous by thread: Re: ERWebSocketExample
  • Next by thread: Re: ERXPartialEntity doesn't return correct values for classPropertyNames method
  • Index(es):
    • Date
    • Thread