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

QueryBuilderExtension.GetModel(String, SelectQuery) Method

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

Namespace: DevExpress.Web.Mvc

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

Declaration

public static QueryBuilderModel GetModel(
    string connectionName,
    SelectQuery tableQuery
)

Parameters

Name Type Description
connectionName String

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

tableQuery SelectQuery

A SelectQuery object.

Returns

Type Description
QueryBuilderModel

A QueryBuilderModel object.

See Also