Reputation: 174329
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?
Upvotes: 2
Views: 1110
Reputation: 364299
You can use EF tracing provider or some commercial tools like:
Upvotes: 1