title: CRM Retrieve entity - Error: Unable to cast object of type 'Microsoft.Xrm.Sdk.Entity' to type 'CRMEntities.List'
body: <p>I generated entities from CRM like this:</p>
  
  <pre><code>CrmSvcUtil.exe /url:http://&lt;servername&gt;/&lt;organizationname&gt;/XRMServices/2011/Organization.svc
      /out:&lt;outputfilename&gt;.cs /username:&lt;username&gt; /password:&lt;password&gt; /domain:&lt;domainname&gt;
      /namespace:CRMEntities /serviceContextName:XrmServiceContext
  </code></pre>
  
  <p>For <strong>serviceContextName</strong> I set <strong>XrmServiceContext</strong>. 
  I want to retrieve some entity from CRM using next code:</p>
  
  <pre><code>var context = new XrmServiceContext(myorgserv);
  var marketingList = context.ListSet.Where(item =&gt; item.Id == new Guid("SOME GUID"));
  </code></pre>
  
  <p>And I'm getting error: </p>
  
  <pre><code>Message "Unable to cast object of type 'Microsoft.Xrm.Sdk.Entity' to type 'CRMEntities.List'."
  </code></pre>
  
  <p>After 'add to watch' I saw that every set of entities in context have the same message.
  What have I missed?</p>