LINQ to SQL is not able to translate your string manipulation to SQL. Select both p.Name and p.Country from your database and then connect in a separate step, for example:
var parentCompanies = (from p in context.ParentCompanies where p.Name.Contains(e.Filter) orderby p.Name select new { p.Name, p.Country }).ToList(); var concatenated = (from c in parentCompanies select new { Company = c.Name + "," + c.Country });
source share