title: Linq query gives me ambigious invocation error on the select statement
body: <p>building a query to return workflows that are in the waiting status and are related to a certain entity... </p>
  
  <p>When I try to write the select statement in my linq query, I get the error "Ambigious invocation" on the select statement. I'm not sure exactly what it means. Here is my code, anyone have a hint or a point in the right direction?</p>
  
  <pre><code>                List&lt;AsyncOperation&gt; processes = (from p in orgSvcContext.AsyncOperationSet
                               where p.PrimaryEntityType == entityLogicalName
                                     &amp;&amp; p.RegardingObjectId.Id == regardingObjectId
                                     &amp;&amp; p.Name == processName
                                     &amp;&amp; p.StatusCode.Value == 10 
                               select new AsyncOperation { Id = p.Id, StateCode = p.StateCode, StatusCode = p.StatusCode })
             .ToList();
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/6y7SU.png" alt="error"></p>