How to use OrderBy() for multiple columns in EntitySpaces?
You can pass multiple columns in like this:-
collection.Query.OrderBy(collection.Query.ProductID.Descending, collection.Query.CategoryID.Ascending)
My experiences with life, ASP .NET, C# and VB .NET etc
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
Posted in ASP .NET, C#, VB .NET, Web Development
Tagged with ASP .NET, EntitySpaces, multiple columns, OrderBy, ORM
Blog at WordPress.com. — Journalist theme by Lucian E. Marin