Skip to main content

QueryBuilderExtension.GetModel(DataConnectionParametersBase, SelectQuery) Method

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static QueryBuilderModel GetModel(
    DataConnectionParametersBase connectionParameters,
    SelectQuery tableQuery
)

Parameters

Name Type Description
connectionParameters DataConnectionParametersBase

A DataConnectionParametersBase object containing settings required to establish a data connection.

tableQuery SelectQuery

A SelectQuery object.

Returns

Type Description
QueryBuilderModel

A QueryBuilderModel object.

See Also