| Devart.Common Namespace : DbMonitor Class |
Allows to monitor dynamic SQL execution in applications that use .NET data providers.
For a list of all members of this type, see DbMonitor members.
Devart.Common.DbMonitor
Devart.Common.DbMonitorHelper
[Visual Basic]
Public MustInherit Class DbMonitor
Inherits Component
Implements IComponent , IDisposable [C#]
public abstract class DbMonitor : Component , IComponent , IDisposable You can survey what happens in data provider components in two ways. First, you can handle DbMonitor.TraceEvent and perform necessary actions in the event handler. Second, if dbMonitor application is running and your edition of provider supports it, you will see execution logs in dbMonitor.
To enable monitoring just drop DbMonitor component to the form and set IsActive property to true. If dbMonitor application has already been started you can see messages and SQL statements that your application executes. For monitoring you need only one DbMonitor component on any of the forms your application consists of.
DbMonitor Members | Devart.Common Namespace
© 2002 - 2013 Devart. All Rights Reserved.