title: Limiting query size with entity framework
body: <p>this is a simple question (I think), but I have not been able to find a solution. I know with other types of queries, you can add a limit clause that makes the query only return up to that many results. Is this possible with an entity query?</p>
  
  <pre><code>var productQuery = from b in solutionContext.Version
                                 where b.Product.ID != 1 &amp;&amp; b.VersionNumber == b.Product.ActiveNumber
                                 orderby b.Product.LastNumber
                                 select b;
  </code></pre>
  
  <p>I just want to make it so this query only returns 25 version objects. Thanks for any help.</p>