Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> In Memory Sorting EntityCollection
 

Pages: 1
LLBLGen Pro Runtime Framework
In Memory Sorting EntityCollection
Page:1/1 

  Print all messages in this thread  
Poster Message
BeauButton
User



Location:
New Orleans
Joined on:
13-Oct-2004 22:17:44
Posted:
5 posts
# Posted on: 29-Sep-2005 23:54:12.  
How can i sort an EntityCollection (client side) on two fields?

The ApplySort only accepts a propertydescriptor for a single field, is there a way to sort of two fields, other than implementing my own sorting algorithm.

Thanks in advance.

-Beau
[BeauLButton()]  Top
Paul.Lewis
User



Location:
Columbus Ohio USA
Joined on:
22-Aug-2005 21:06:58
Posted:
147 posts
# Posted on: 30-Sep-2005 04:43:27.  
The Best practises - How do I ... ? page in the LLBLGen User Manual talks about this subject on the "sort a filled entity collection ?" page; Fourth list item from bottom.

The examples only show sorts on a single attribute, but you should be able to expand the sort to multiple columns.

Also, Check the docs at Using the Generated Code -> Adapter -> Using the entity collection classes "Client side sorting"

Good luck and happy sorting.

Paul


  Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.