IQueryable<SomeType> result = (from x in Context.XXX select x);
now what I need to do is the following (written pseudo code, I need actual code):
foreach(var i in items)
{
// Where the object "i" has 2 properties
// 1) i.Operator (values of which can be AND or OR)
// 2) i.SomeID (values of which can be 1 .. 10)
// I need to build the LINQ query with "ands" and "ors" based on the i's in this foreach
}