Skip to main content

QueryBuilderExtension.Bind(String, SelectQuery, Int32) Method

Binds the Query Builder to a data source using the specified connection name, SELECT query and execution timeout.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public QueryBuilderExtension Bind(
    string connectionName,
    SelectQuery selectQuery,
    int commandTimeout
)

Parameters

Name Type Description
connectionName String

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

selectQuery SelectQuery

A SelectQuery object.

commandTimeout Int32

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

Returns

Type Description
QueryBuilderExtension

A QueryBuilderExtension object that specifies the Query Builder.

See Also