How to trace DbQuery parameter values RRS feed

  • Question

  • 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.

    Tuesday, October 23, 2012 12:40 PM


All replies