I\'m using LINQ to Entities (not LINQ to SQL) and I\'m having trouble creating an \'IN\' style query. Here is my query at the moment:
var items = db.InventoryIt
My workaround is to convert the entities result to a List and after that apply the Contains().
Example:
var items = db.InventoryItem .Include("Kind") .Include("PropertyValues") .Include("PropertyValues.KindProperty") .ToList() .Where(itm => valueIds.Contains(itm.ID));