How can i perform an LIKE query within Linq?
I have the following query i would like to execute.
var results = from c in db.costumers w
You can use contains:
string[] example = { "sample1", "sample2" }; var result = (from c in example where c.Contains("2") select c); // returns only sample2