title: Select entities where ID in int array - WCF Data Services, LINQ
body: <p>I would like to return a set of entities who has and ID that is contained in a list or array of IDs using LINQ and Data Services. I know how to this using LinqToEF but I am at a loss how to this with Data Services or using OData query conventions for that matter.</p>
  
  <p>My thought is that I would do something like:</p>
  
  <pre><code>int[] intArray = {321456, 321355, 218994, 189232};
  var query = (from data in context.Entity
               where intArray.contains(data.ID)
               select data);
  </code></pre>
  
  <p>Is there any way to accomplish using Data Services / OData? I know I could probably hack it with a Service Operation but I would prefer not to do that.</p>
  
  <p>Cheers.</p>