EOSortOrdering and keypaths
EOSortOrdering and keypaths
- Subject: EOSortOrdering and keypaths
- From: "Andrew R. Kinnie" <email@hidden>
- Date: Sun, 20 Jun 2010 12:24:27 -0400
Greetings:
I am drawing a blank here, and am trying to think of how to create an EOSortOrdering across a key path.
I have an entity Booking which has one date and one Performance. Performance is an entity which has one PerformanceType. PerformanceType is an entity which has a name attribute (a String). I want to sort the results of a fetch by the date and by name of the Performance's Performance type. The date is pretty obvious, but the Performance type is confusing me. So how would I create a sort ordering for an array of Bookings to sort based on the key path aBooking.performance.performanceType.name.
Any ideas would be appreciated. This seems like it should be obvious, but I'm drawing a blank.
Andrew
_______________________________________________
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