title: Transform LINQ IQueryable into a paged IQueryable using LINQ to NHibernate
body: <p>I wanna do something like that</p>
  
  <pre><code>    public IQueryable GetPaged&lt;TSource&gt;(IQueryable&lt;TSource&gt; query, int startIndex, int pageSize)
      {
          return GetSession()
            .Linq&lt;TSource&gt;()
            .UseQuery(query)
            .Take(pageSize)
            .Skip(startIndex);
      }
  </code></pre>
  
  <p>So you can put <strong>any</strong> IQuerable statement and "it becomes paged" or it will be paged.</p>
  
  <p>I am using LINQ to NHibernate.
  I hope you get it, sry for this bad english :o</p>
  
  <p>edit: Maybe my approach is the wrong one, is it?</p>