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.
Tagged with: LINQ
4 Responses to View T-SQL Query Generated By LINQ To SQL Using Linqpad
Leave a Reply Cancel reply
Top Posts
- LINQ To SQL Tutorial
- LINQ To SQL Join On Multiple Conditions
- Code Sample: Programmatically Download File Using C#
- Windows 7 Control Panel In Classic Mode
- More Details Emerge On Microsoft Master Certification
- Use SqlConnection With LINQ To SQL
- Free Icons And Images With Visual Studio 2008
- Capture XML In WCF Service
- Dynamic Sort With LINQ
- StyleCop Tutorial
Tags
.Net 2010 ADO.NET ASP.NET Azure Blogging Books Browsers C# Certification Cloud Computing Code Snippets Community Data Services Eclipse Entity Framework Google IDE Java LINQ Mac Microsoft Museum NetBeans Office Oracle REST SharePoint Silverlight SQL Server T-SQL Tips Tools Training Visual Studio Visual Studio 2010 WCF Web Windows Windows 7 Windows Forms Windows Live WMI WPF XAML


[...] had a look at LINQPad few months ago when I wrote about how you can use this tool to view generated LINQ To SQL Query. There is not doubt that LINQPad is a very handy tool if you are writing LINQ To SQL queries. But [...]
Where can i find linqpad?
Tareq,
You can download Linqpad here http://www.linqpad.net
Thanks for your reply.