ASPxDashboard.SetDBCommandInterceptor(IDBCommandInterceptor) Method
In This Article
Registers IDBCommandInterceptor in ASPxDashboard
.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v24.2.Web.WebForms.dll
NuGet Package: DevExpress.Web.Dashboard
#Declaration
public void SetDBCommandInterceptor(
IDBCommandInterceptor dbCommandInterceptor
)
#Parameters
Name | Type | Description |
---|---|---|
db |
IDBCommand |
An IDBCommand |
#Remarks
Dashboard controls execute a variety of SQL statements against the database. Implement IDBCommandInterceptor
to intercept these data source commands. You can suppress a command or modify the execution algorithm.
See Also