Back to Devexpress

DashboardViewer.CustomDBConnectionInterceptor Property

dashboard-devexpress-dot-dashboardwin-dot-dashboardviewer-2bc12009.md

latest2.1 KB
Original Source

DashboardViewer.CustomDBConnectionInterceptor Property

Specifies the IDBConnectionInterceptor object for the Dashboard Viewer control.

Namespace : DevExpress.DashboardWin

Assembly : DevExpress.Dashboard.v25.2.Win.dll

NuGet Package : DevExpress.Win.Dashboard

Declaration

csharp
[Browsable(false)]
[DefaultValue(null)]
public IDBConnectionInterceptor CustomDBConnectionInterceptor { get; set; }
vb
<DefaultValue(Nothing)>
<Browsable(False)>
Public Property CustomDBConnectionInterceptor As IDBConnectionInterceptor

Property Value

TypeDefaultDescription
IDBConnectionInterceptornull

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.

Implements

CustomDBConnectionInterceptor

See Also

DashboardViewer Class

DashboardViewer Members

DevExpress.DashboardWin Namespace