in memory sort of collection

Posts   
 
   
 
Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 01-Nov-2007 13:15:22   

hi guys, having a bit of a manic day today so wondering if you can save me some time. is it possible to do in memory sorting of an entity collection?

Cheers,

Pete

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 01-Nov-2007 14:18:33   

Yes sure either using entityCollection.Sort() method. Check Client side sorting in the manual under "Using the generated code -> Adapter/SelfServicing -> Using the entity collection classes"

Or by using sorting with an entityView. Check Filtering and sorting an EntityView in the manual under "Using the generated code -> Adapter/SelfServicing -> Using the EntityView class"

Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 01-Nov-2007 21:34:30   

Top one. Thanks Walaa