2 Replies Latest reply on Jan 12, 2012 7:54 PM by 15208

    Paging with LINQ

    Paul Newman
      I see that beta 2 is just released. But it's a real shame this issue isn't fixed (taken from the readme):

      +14. SORT operation is not applied to the entire result set prior to the SKIP / TAKE operators.+

      It means you can't really do paging, which is essential in many if not most apps. The sorting is currently done after the paging (i.e. within the page), which is obviously no good. This is a massive pain for us. Any news on a fix?

      Typical code goes like this:

      (from t in T_USER orderby t.Name select t.Name).Skip(10).Take(5)

      Thanks
      Paul