O'Reilly logo
  • Michael Szwaya thinks this is interesting:

DataContext db = new DataContext(@"c:\data\northwnd.mdf");

From

Cover of Essential LINQ

Note

Switch to the following: string connectionString = @"server = WS15253\SQLEXPRESS; integrated security = true; database = northwind; "; DataContext db = new DataContext(connectionString);