Compose LINQ-to-SQL predicates into a single predicate
问题 (An earlier question, Recursively (?) compose LINQ predicates into a single predicate, is similar to this but I actually asked the wrong question... the solution there satisfied the question as posed, but isn't actually what I need. They are different, though. Honest.) Given the following search text: "keyword1 keyword2 ... keywordN" I want to end up with the following SQL: SELECT [columns] FROM Customer WHERE ( Customer.Forenames LIKE '%keyword1%' OR Customer.Forenames LIKE '%keyword2%' OR .