Click here to Skip to main content
11,642,216 members (62,652 online)
Click here to Skip to main content

Tagged as

See the SQL Generated by LINQ

, 18 Jul 2011 CPOL 3.2K
Rate this:
Please Sign up or sign in to vote.
If you are the type that likes to debug production code, you can use SQL Profiler to find queries generated by your LINQ statements. This is a technique I recently used because it was so simple and did not require me to recompile anything.Note that StefanHam already posted this alternate...
If you are the type that likes to debug production code, you can use SQL Profiler to find queries generated by your LINQ statements. This is a technique I recently used because it was so simple and did not require me to recompile anything.

Note that StefanHam already posted this alternate (i.e., to use SQL Profiler), but it was deleted. If you delete my alternate, please leave a comment first.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

AspDotNetDev
Web Developer
United States United States
  • Managing Your JavaScript Library in ASP.NET (if you work with ASP.net and you don't read that, you are dead to me).
  • Graduated summa cum laude with a BS in Computer Science.
  • Wrote some articles and some tips.
  • DDR ("New high score? What does that mean? Did I break it?"), ping pong, and volleyball enthusiast.
  • Software I have donated to (you should too):

You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150731.1 | Last Updated 18 Jul 2011
Article Copyright 2011 by AspDotNetDev
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid