Skip to main content
All docs
V24.2

ASPxDashboard.SetDBConnectionInterceptor(IDBConnectionInterceptor) Method

Registers IDBConnectionInterceptor in ASPxDashboard.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v24.2.Web.WebForms.dll

Declaration

public void SetDBConnectionInterceptor(
    IDBConnectionInterceptor dBConnectionInterceptor
)

Parameters

Name Type Description
dBConnectionInterceptor IDBConnectionInterceptor

An 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.

See Also