Skip to main content

QueryBuilderExtension.Bind(String, SelectQuery) Method

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public QueryBuilderExtension Bind(
    string connectionName,
    SelectQuery selectQuery
)

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.

Returns

Type Description
QueryBuilderExtension

A QueryBuilderExtension object that specifies the Query Builder.

See Also