Hi,
For debugging and comparison purposes our users would like to validate some of the Linq queries (which we dynamically generated based on their input in the UI) again the SQL server manually. Now we use SQL Monitor / Profiler for this purpose but that's quite cumbersome. Is there a way to get the actual queries during runtime using code so we can output them with the results to (in our case) the output file.
Thanks.