Hello all,
I have a Silverlight 4 project, EF4, using RIA Service and dotConnect for Oracle, I have downloaded the db Mointor, but I am not sure how to use it to trace the SQL generated.
Any one can help or point me to the right place please.
How to use dbMonitor
You will have to activate the monitoring in code :
mon = new Devart.Data.Oracle.OracleMonitor();
mon.IsActive = true;
I also use it to output the monitored statements to logfile / output console at debug time :
mon.TraceEvent += new Devart.Common.MonitorEventHandlermon_TraceEvent);
You best parametrise this code, so you can switch it off in production code
mon = new Devart.Data.Oracle.OracleMonitor();
mon.IsActive = true;
I also use it to output the monitored statements to logfile / output console at debug time :
mon.TraceEvent += new Devart.Common.MonitorEventHandlermon_TraceEvent);
You best parametrise this code, so you can switch it off in production code
wgkwvl, thank you for posting.
jayBishtawi, please refer to http://www.devart.com/dotconnect/oracle ... nitor.html.
jayBishtawi, please refer to http://www.devart.com/dotconnect/oracle ... nitor.html.