Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

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