Developing with LINQ

April 3rd, 2008     by Martin Jacobs    

Once in a while you encounter tools that change the way you work and write your code. Firebug is an obvious example of this. Having worked with .NET 3.5 the last couple of months, I started using a great tool that made C# development much faster. The tool is LINQPad , written by Joseph Albahari. It lets you query your SQL Server database using LINQ. It is very easy to map your database, and immediately start writing code.

LINQPad supports everything in C# 3.0 and Framework 3.5:

  • LINQ to SQL
  • LINQ to Objects
  • LINQ to XML

It has code snippets for pretty much all LINQ constructs.

In the results pane of the LINQPad tool, you can not only see the results of your query, but also the lambda expression it was evaluated into, as well as the resulting SQL that was executed against the database.

Not only does it speed up development, testing your queries for correctness and performance is also much simpler.


Del.icio.us Del.icio.us     Digg Digg     Technorati Technorati     Furl Furl     reddit reddit

  1. 2 Responses to “Developing with LINQ”

  2. By Jochen Toppe on Apr 3, 2008 | Reply

    I just wish there was a tool which elaborated on the sometimes way too cryptic error messages linq and lambda expressions produce :-)

  3. By Paras Wadehra on Apr 3, 2008 | Reply

    I have been using this tool for the last few months too and can attest to its ease of use and the tool’s performance itself over SQL Server Management Studio - just an excellent tool over all.

Post a Comment

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 4 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a