I have a select query which is used over and over with different where
filters:
var query = from row in context.Table select row;
How can I save this into a static class variable so I can reuse it in different methods? Like:
var results1 = query.Where(condition1);
...
var results2 = query.Where(condition2);