Skip to main content
A newer version of this page is available. .
All docs
V23.1

DashboardViewer.CustomDBConnectionInterceptor Property

Specifies the IDBConnectionInterceptor object for the Dashboard Viewer control.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v23.1.Win.dll

NuGet Packages: DevExpress.Win.Dashboard, DevExpress.Win.Dashboard.Design

Declaration

[Browsable(false)]
[DefaultValue(null)]
public IDBConnectionInterceptor CustomDBConnectionInterceptor { get; set; }

Property Value

Type Default Description
IDBConnectionInterceptor null

A IDBConnectionInterceptor object.

Remarks

Implement IDBConnectionInterceptor to intercept, modify, and/or suppress SQL operations. The list includes low-level database operations such as executing a command or setting a key-value pair in a session context. Once the connection is open, you can store values in the session context and execute any request.

Assign an object that implements the IDBConnectionInterceptor interface to CustomDBConnectionInterceptor to register the interceptor in the Dashboard control.

See Also