IQueryBuilderClientSideModelGenerator.GetJsonModelScript(DataConnectionParametersBase, SelectQuery, Int32) Method
Creates a client-side Web Query Builder model based on the specified data and serializes this model to JSON.
Namespace: DevExpress.XtraReports.Web.QueryBuilder.Services
Assembly: DevExpress.XtraReports.v25.1.Web.dll
NuGet Package: DevExpress.Web.Reporting.Common
Declaration
string GetJsonModelScript(
DataConnectionParametersBase connectionParameters,
SelectQuery tableQuery,
int commandTimeout
)
Parameters
| Name | Type | Description |
|---|---|---|
| connectionParameters | DataConnectionParametersBase | A DataConnectionParametersBase descendant that specifies the data connection parameters. |
| tableQuery | SelectQuery | A query that the Query Builder loads on start. |
| commandTimeout | Int32 | An integer value that specifies the wait time (in seconds) before an attempt to execute a query terminates and an error occurs. |
Returns
| Type | Description |
|---|---|
| String | A JSON string that contains the Web Query builder model. |
See Also