|
View T-SQL Query Generated By LINQ To SQL Using Linqpad
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.

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 |
Follow Discussion
4 Responses to “View T-SQL Query Generated By LINQ To SQL Using Linqpad”
Trackbacks
- LINQPad with Intellisense | One .Net Way December 23rd, 2008
Leave a Reply
Get Updates By Email
Popular Post
- LINQ To SQL Tutorial
- LINQ To SQL Join On Multiple Conditions
- Code Sample: Programmatically Download File Using C#
- Free Icons And Images With Visual Studio 2008
- Windows 7 Control Panel In Classic Mode
- Dynamic Sort With LINQ
- Use SqlConnection With LINQ To SQL
- StyleCop Tutorial
- Write To Vista Event Log Using C#
- More Details Emerge On Microsoft Master Certification
Tag Cloud
Code Snippets
- Get Current Windows User In C#
- Get Width And Height Of Image In C#
- Get Windows Registry Size With WMI And C#
- Reverse Array Elements Using C#
- Convert Hexadecimal To Number In C#
- Get Free Disk Space Using T-SQL
- SQL Server 2008 – Get All Indexes In A Database
- Get Name Of Current Executing Assembly In C#
- Get CD Or DVD Drive Information Using WMI And C#
- Get Last Row From Table Using LINQ To SQL


August 21st, 2009 at 8:08 pm
Where can i find linqpad?
August 21st, 2009 at 8:39 pm
Tareq,
You can download Linqpad here http://www.linqpad.net
August 22nd, 2009 at 2:59 pm
Thanks for your reply.