1

We are tracing the generated SQL using qry.ToString. How can we trace the parameter values too.

DbQuery (in contrast to ObjectQuery) does not have a Parameters property.

Using SqlProfiler is not an option. We are tracing using log4net in production.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.