Dynamic LINQ OrderBy

Posted by John Sheehan on Stack Overflow See other posts from Stack Overflow or by John Sheehan
Published on 2008-09-03T06:30:31Z Indexed on 2010/04/01 23:43 UTC
Read the original article Hit count: 435

Filed under:
|
|

I found an example in the VS2008 Examples for Dynamic LINQ that allows you to use a sql-like string (e.g. OrderBy("Name, Age DESC")) for ordering. Unfortunately, the method included only works on IQueryable<T>. Is there any way to get this functionality on IEnumerable<T>?

© Stack Overflow or respective owner

Related posts about c#

Related posts about LINQ