title: How to set [$expand PageSize] for OData in ASP.NET WEB API?
body: <p>I use the server-side page like this:</p>
  
  <pre><code>[Queryable(PageSize = 20)]
  public IQueryable&lt;T&gt; Get()
  {
      return Repository&lt;T&gt;.GetAll();
  }
  </code></pre>
  
  <p>then,I get items as GET <strong><a href="http://domain.com/oData/EntityA" rel="nofollow">http://domain.com/oData/EntityA</a>?$expand=EntityB</strong>.
  As I expected I got 10 "EntityA",but the navigation properties "EntityB" always only 10,too.</p>
  
  <p>I google it,but nothing helped.
  At <a href="http://aspnetwebstack.codeplex.com/wikipage?title=%24select%20and%20%24expand%20support" rel="nofollow">$select and $expand support</a> has some tip,but not solution:</p>
  
  <hr>
  
  <p>PageSize for expanded feeds.</p>
  
  <p>How can one specify page size for expanded feeds? WCF DS has a per entity-set configuration knob for page size. Should we follow their model?</p>
  
  <hr>
  
  <p><strong>So,how can I get all of EntityB though $expand,is need some config?</strong></p>
  
  <p><em>version:</em></p>
  
  <p><em>Mvc 5.0.0-beta2</em></p>
  
  <p><em>WebApi 5.0.0-beta2</em></p>
  
  <p><em>WebApi.OData 5.0.0-rc1-130807</em></p>
  
  <p><em>Data.OData 5.6.0-rc1</em></p>