LINQKit icon indicating copy to clipboard operation
LINQKit copied to clipboard

How to tracing on EF6 using ObjectContext

Open freica opened this issue 6 years ago • 0 comments

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

freica avatar Feb 01 '19 10:02 freica