Thursday, November 14, 2013

How to implement multiple [Order by] in LINQ?

Var list = _db.Lists.Orderby(c => c.filed1).ThenBy(n => n.field2)

No comments:

Post a Comment