Skip to main content
A newer version of this page is available. .

QueryBuilderExtension.GetModel(String, Int32) Method

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

Namespace: DevExpress.Web.Mvc

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

Declaration

public static QueryBuilderModel GetModel(
    string connectionName,
    int commandTimeout
)

Parameters

Name Type Description
connectionName String

A string that specifies the connection string name defined in the application’s configuration file.

commandTimeout Int32

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

Returns

Type Description
QueryBuilderModel

A QueryBuilderModel object.

See Also