title: Why can I not use Continuation when using a proxy class to access MS CRM 2013?
body: <p>So I have a standard service reference proxy calss for MS CRM 2013 (i.e. right-click add reference etc...) I then found the limitation that CRM data calls limit to 50 results and I wanted to get the full list of results.  I found two methods, one looks more correct, but doesn't seem to work.  I was wondering why it didn't and/or if there was something I'm doing incorrectly.</p>
  
  <p><em>Basic setup and process</em></p>
  
  <pre class="lang-cs prettyprint-override"><code>crmService = new CrmServiceReference.MyContext(new Uri(crmWebServicesUrl));
  crmService.Credentials = System.Net.CredentialCache.DefaultCredentials;
  var accountAnnotations = crmService.AccountSet.Where(a =&gt; a.AccountNumber = accountNumber).Select(a =&gt; a.Account_Annotation).FirstOrDefault();
  </code></pre>
  
  <p><em>Using Continuation (something I want to work, but looks like it doesn't)</em></p>
  
  <pre class="lang-cs prettyprint-override"><code>while (accountAnnotations.Continuation != null)
  {
     accountAnnotations.Load(crmService.Execute&lt;Annotation&gt;(accountAnnotations.Continuation.NextLinkUri));
  }
  </code></pre>
  
  <p>using that method .Continuation is always null and accountAnnotations.Count is always 50 (but there are more than 50 records)</p>
  
  <hr>
  
  <p><em>After struggling with .Continutation for a while I've come up with the following alternative method (but it seems "not good")</em></p>
  
  <pre class="lang-cs prettyprint-override"><code>var accountAnnotationData = accountAnnotations.ToList();
  var accountAnnotationFinal = accountAnnotations.ToList();
  var index = 1;
  
  while (accountAnnotationData.Count == 50)
  {
     accountAnnotationData = (from a in crmService.AnnotationSet
                             where a.ObjectId.Id == accountAnnotationData.First().ObjectId.Id
                             select a).Skip(50 * index).ToList();
     accountAnnotationFinal = accountAnnotationFinal.Union(accountAnnotationData).ToList();
     index++;
  }
  </code></pre>
  
  <p>So the second method seems to work, but for any number of reasons it doesn't seem like the best.  Is there a reason .Continuation is always null?  Is there some setup step I'm missing or some nice way to do this?</p>