I found the following code in a Linq to Sql tutorial, from where Northwnd class come from? Is it generated automatically
Northwnd db = new Northwnd(@"c:\northwnd.mdf");
// Query for customers in London.
IQueryable<Customer> custQuery =
from cust in db.Customers
where cust.City == "London"
select cust;
It’s generated using wizards in Visual Studio by adding a new Linq to Sql element to the project. I would recommend you the following blog post. And another one.