How to use dbMonitor

How to use dbMonitor

Postby jayBishtawi » Fri 09 Sep 2011 21:40

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.
Posts: 1
Joined: Fri 09 Sep 2011 21:30

Postby wgkwvl » Mon 12 Sep 2011 09:17

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
Posts: 39
Joined: Tue 20 Jul 2010 15:13

Postby Shalex » Mon 12 Sep 2011 15:46

wgkwvl, thank you for posting.

jayBishtawi, please refer to
Devart Team
Posts: 7949
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for Oracle