I am writing some wrapper class such that it can be called as follow: NorthWindDataContext dc = new NorthWindDataContext(); Expression> predicate = (c => c.City == "london"); IOrderedQueryable orderby = dc.Customers.OrderBy(c => c.Country).ThenByDescending(c => c.ContactName); LINQSQL persistSQL = new PersistenceLINQSQL(predicate, orderby); Is there a way in the wrapper class to retrieve the dataContext given either predicate or orderby ? Thanks
Read More...