I have a function where I get a list of ids, and I need to return the a list matching a description that is associated with the id. E.g.:
public class CodeDa
var filterTransNos = (from so in db.SalesOrderDetails where ItemDescription.Contains(ItemDescription) select new { so.TransNo }).AsEnumerable(); listreceipt = listreceipt.Where(p => filterTransNos.Any(p2 => p2.TransNo == p.TransNo)).ToList();