Skip to main content
All docs
V24.2

IQueryBuilderClientSideModelGenerator.GetJsonModelScript(DataConnectionParametersBase, SelectQuery) 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,
    SelectQuery tableQuery
)

Parameters

Name Type Description
connectionParameters DataConnectionParametersBase

A DataConnectionParametersBase descendant that specifies the data connection parameters.

tableQuery SelectQuery

A SQL query that the Query Builder loads on start.

Returns

Type Description
String

A JSON string that contains the Web Query builder model.

See Also