Imran Akram’s Blog

My experiences with life, ASP .NET, C# and VB .NET etc

How to use OrderBy() for multiple columns in EntitySpaces?

leave a comment »

You can pass multiple columns in like this:-

collection.Query.OrderBy(collection.Query.ProductID.Descending, collection.Query.CategoryID.Ascending)

Written by Imran Akram

December 31, 2008 at 8:13 am

Leave a Reply