Skip to main content
All docs
V24.2

IQueryBuilderClientSideModelGenerator.GetJsonModelScript(DataConnectionParametersBase, 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.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

string GetJsonModelScript(
    DataConnectionParametersBase connectionParameters,
    int commandTimeout
)

Parameters

Name Type Description
connectionParameters DataConnectionParametersBase

A DataConnectionParametersBase descendant that specifies the data connection parameters.

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