LINQKit
LINQKit copied to clipboard
How to tracing on EF6 using ObjectContext
Is there any solution for this?
`
query1 = query1.AsExpandable().Where(expression);
// After using AsExpandable I cannot cast my query to ObjectQuery to trace sql command on EF6,
// using ObjectContext
////var objectTrace = (query1 as ObjectQuery).ToTraceString();
////Debug.WriteLine(objectTrace);
` Best regards Freica