Login Skip Navigation LinksWilsonORMapper > Forums Search
Demo Version Demo Version
Download and try for yourself a fully working demo version, including sample apps and documentation.  The only limitation is that the demo version only works inside the debugger.

PayPal Subscribe
Get It All for $50 USD:
WebPortal, ORMapper,
Source Code, All Updates
PayPal

User Login User Login
Log In
 
 
Reset Password

Wilson ORMapper Forums Wilson ORMapper Forums : Advanced Topics : Secondary sort

Date Post
4/21/2006 3:09:33 PM

Is it possible to do a secondary sort on a table?  For example, if you have a list of people, is it possible to sort on LastName, FirstName (similar to the order by clause in a sql statement)?  BTW, this product is great, thanks for all your work!

4/21/2006 3:12:05 PM Absolutely.  You can either specify a default sortOrder in the mapping file for that entity (sortOrder="Field1, Field2, ..."), and/or you can specify a query specific sort clause in the ObjectQuery (or OPathQuery).

Thanks, Paul Wilson