2

is there a way to get the executed query including the parameters for ObjectQuery<T> instances in EF1?
I can do ToTraceString but that returns only the query, but not the parameters.
ObjectQuery<T> has a property Parameters, but they live in the .NET world, i.e. the value of ParameterType is System.String and not varchar(15).
How do I get this info?

1 Answer 1

1

You can use EF tracing provider or some commercial tools like:

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks for the suggestions. Do I understand this correctly: There is no built in way?
Yes you understand it correctly :) Btw here is whole article about available tools: msdn.microsoft.com/en-us/magazine/gg490349.aspx

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.