views:

58

answers:

1

I know you can get the SQL, but it's paramterized without the parameters being visible. Can you get the "full" string, so to speak?

+2  A: 

Scott Guthrie created an add on, that works in the debugger.

get it here

Matthew Vines
Ha as I was writing the qestion hazy memories of that tool started coming back - couldn't remember when and where - shoulda guessed Gu!
joshcomley
I get a lot of use out of it. Sometimes I just don't recognize what my issue is in linq, but it is painfully obvious once I can run the actual SQL expression.
Matthew Vines
Doesn't work on x64 systems.
Chris Lively
@Chris - it does work on x64 systems now
joshcomley
Although it does have negligible issues with localised dates
joshcomley