Resulting sql
Posted: Fri 30 Oct 2009 19:36
Is there any way to get resulting sql query?
(at the moment of DataContext.SubmitChanges() execution, for example)
(at the moment of DataContext.SubmitChanges() execution, for example)
Discussion forums for open issues and questions concerning database tools, data access components and developer tools from Devart
https://forums.devart.com/
Code: Select all
DataContext1.DataContext1 ctx = new DataContext1.DataContext1();
StringBuilder sb = new StringBuilder();
ctx.Log = new StringWriter(sb);