Setting IsActive to false for OracleMonitor instance is very ugly solution... Is there any other way to hide OracleCommand (query or stored procedure call) from dbMonitor?
There are 2 possible ways to hide some database activity from dbMonitor: either set OracleMonitor.IsActive to False in your code or play with Filter settings (the View > Event Filter menu) of dbMonitor.
Setting IsActive to false is very bad because it slows down the application then monitor is not running (I have a lot of queries and need to hide every second).
It will be nice to have boolean property HideFromMonitor for OracleCommand. I'm sure its easy task. =)