I'm building an ad-hoc query to send to SQL doing the following:
var data = from d in db.xxxx select d;
foreach (pattern in user_stuff)
data = data.Where(d=>SqlMethods.Like(d.item,pattern)==true);
The problem is that the WHERE clauses get AND'ed together. I need OR's.
Any idea how to get an OR?