Skip to main content

QueryBuilderExtension.GetModel(DataConnectionParametersBase, Int32) Method

Returns the Query Builder model with the specified connection parameters and query execution timeout.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static QueryBuilderModel GetModel(
    DataConnectionParametersBase connectionParameters,
    int commandTimeout
)

Parameters

Name Type Description
connectionParameters DataConnectionParametersBase

A DataConnectionParametersBase object containing settings required to establish a data connection.

commandTimeout Int32

An integer value that specifies the timeout to execute a query.

Returns

Type Description
QueryBuilderModel

A QueryBuilderModel object.

See Also