LINQ to Northwind is a LINQ to SQL database example program. In the file called Samples.cs there are fifteen sample LINQ to SQL queries stored in static methods that are named sequentially as Sample1(), Sample2(), etc. By default, the main file in the project, Program.cs, will call Sample1(). Edit Program.cs to call the other samples. For instance, to call the second sample, change the call to Samples.Sample1() to read Samples.Sample2().

See the Connectivity note found in the main ReadMe if you are have trouble running the database samples.

Many of the LINQ samples, including LINQ to Northwind, require the Northwind sample database that is located in the Data directory. By default the Data directory will be located under the same parent folder as the other LINQ samples. This will ensure that the path for the database files will be resolved automatically. Many of the sample files also require the ObjectDumper project.