Code snippet
var list =
(from item in entitySet.Clients.AsQueryable()
where listOfId.Contains(item.ID.ToString())
select item).ToList();
Error Message
LINQ to Entities does not recognize the method ‘Boolean Contains(System.String)’ method, and this method cannot be translated into a store expression
Any solution to this ?
Try this: