title: OData Exception The limit of '0' for Top query has been exceeded
body: <p>I am using OData Web API for Version 4, when I try to query OData web Api using <code>$top</code> parameter, it return me following exception message.</p>
  
  <blockquote>
    <p>The query specified in the URI is not valid. The limit of '0' for Top query has been exceeded. The value from the incoming request is '10'</p>
  </blockquote>
  
  <p>I am using Apache Ignite dotNet LINQ as data source instead of Entity Framework, my OData controller action method is as follows:</p>
  
  <pre><code>[EnableQuery]
  public IQueryable&lt;Productioncurvepnl&gt; GetProductioncurvepnl()
  {
      Console.WriteLine("Starting query to ignite");
      var q = AIgniteClient.IgniteClient.Instance.ProductionCurvePnLCache.AsCacheQueryable().Select(c =&gt; c.Value);
      return q;
  }
  </code></pre>