LINQ in Action roller

DataContext

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...
Published Tuesday, February 26, 2008 1:38 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication