Skip to main content
All docs
V25.1
  • ASPxDashboard.SetDBConnectionInterceptor(IDBConnectionInterceptor) Method

    Registers IDBConnectionInterceptor in ASPxDashboard.

    Namespace: DevExpress.DashboardWeb

    Assembly: DevExpress.Dashboard.v25.1.Web.WebForms.dll

    NuGet Package: DevExpress.Web.Dashboard

    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