Home / Programming / Blog article: View T-SQL Query Generated By LINQ To SQL Using Linqpad

| RSS

View T-SQL Query Generated By LINQ To SQL Using Linqpad

September 23rd, 2008 | 4 Comments | Posted in Programming

In my previous post I showed you three different ways to capture the T-SQL query generated by LINQ To SQL. A comment on the post reminded me that I forgot to mention a fourth way i.e. using Linqpad. In Linqpad when you have executed the query you can click on the SQL tab next to Results and look at the T-SQL query.

image

Other than viewing generated queries, Linqpad is also a great tool for writing queries. The tool itself is very lightweight and comes with many templates to get you started.

Leave a Reply 4183 views, 1 so far today |
Tags:
Follow Discussion

4 Responses to “View T-SQL Query Generated By LINQ To SQL Using Linqpad”

  1. tareq Says:

    Where can i find linqpad?

  2. Deepak Says:

    Tareq,

    You can download Linqpad here http://www.linqpad.net

  3. tareq Says:

    Thanks for your reply.

Trackbacks

  1. LINQPad with Intellisense | One .Net Way  

Leave a Reply





Switch to our mobile site