ASPxDashboard.SetDBConnectionInterceptor(IDBConnectionInterceptor) Method
In This Article
Registers IDBConnectionInterceptor in ASPxDashboard
.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v24.2.Web.WebForms.dll
NuGet Package: DevExpress.Web.Dashboard
#Declaration
public void SetDBConnectionInterceptor(
IDBConnectionInterceptor dBConnectionInterceptor
)
#Parameters
Name | Type | Description |
---|---|---|
d |
IDBConnection |
An IDBConnection |
#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