title: How to fetch more than 5000 entities from CRM
body: <p>I'm querying MS Dynamics CRM Online from my console app:</p>
  
  <pre><code>public EntityCollection GetEntities(string entityName)
  {
      IOrganizationService proxy = ServerConnection.GetOrganizationProxy();
  
      string request = string.Format("&lt;fetch mapping ='logical'&gt;&lt;entity name = '{0}'&gt;&lt;/entity&gt;&lt;/fetch&gt;", entityName);
      FetchExpression expression = new FetchExpression(request);
      var mult = proxy.RetrieveMultiple(expression);
  
      return mult;
  }
  </code></pre>
  
  <p>This code only returns maximum of 5000 elements in <code>mult.Entities</code>. I know there are more entities in CRM. 
  <strong>How to retrieve all entites?</strong></p>