Sign up ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

I am looking for a "test bed" application which will help me to learn Linq by writing queries and immediately executing them against the AdventureWorks database.

Why AdventureWorks? Because it is a sample database Microsoft uses in their documentation?

share|improve this question

closed as off-topic by Robert Harvey, Greg Hewgill, Dynamic, Glenn Nelson, Martijn Pieters Dec 16 '13 at 1:36

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Robert Harvey, Greg Hewgill, Dynamic, Glenn Nelson, Martijn Pieters
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 10 down vote accepted

LINQPad sounds exactly like what you're after.

LINQPad supports everything in C# 4.0 and Framework 4.0:

  • LINQ to Objects LINQ to SQL,
  • Entity Framework and DevForce Models
  • LINQ to XML
  • Parallel LINQ

And that's not all - there's also specific support for:

  • OData / WCF Data Services - including StackOverflow, and Windows
  • DataMarket
  • SQL Azure, SQL Table Storage, Oracle, SQLite and MySQL
  • Microsoft StreamInsight
  • Microsoft Dynamics CRM
  • Mindscape LightSpeed ORM
  • DevExpress eXpress Persistent Objects
  • (Even old-fashioned SQL!)

LINQPad is also a great way to learn LINQ: it comes loaded with 500 examples from the book, C# 4.0 in a Nutshell. There's no better way to experience the coolness of LINQ and functional programming.

And LINQPad is more than a LINQ tool: it's an ergonomic C#/VB/F# scratchpad that instantly executes any expression, statement block or program with rich output formatting – the ultimate in dynamic development. Put an end to those hundreds of Visual Studio Console projects cluttering your source folder!

Best of all, LINQPad standard edition is free and can run without installation (or with a low-impact setup). The executable is 3MB and is self-updating. There is even a version that runs in Google Chrome.

share|improve this answer
this is the answer. Great tool, I hooked it up to RavenDB this week for scratchpad purposes. – jmo21 Mar 1 '12 at 10:47
If this had been posted on stackoverflow there would be at least 10 identical answers by now. I'm surprised I'm the first here after 10 minutes. – George Duckett Mar 1 '12 at 10:53
not as much traffic here as on SO :) – jmo21 Mar 1 '12 at 11:09
This is indeed the right answer. – Michael Brown Mar 1 '12 at 13:49