QueryBuilderExtension.GetModel(String, SelectQuery, Int32) Method
Returns the Query Builder model with the specified connection parameters, SELECT query and execution timeout.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public static QueryBuilderModel GetModel(
string connectionName,
SelectQuery tableQuery,
int commandTimeout
)
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. |
commandTimeout | Int32 | An integer value that specifies the timeout to execute a query. |
Returns
Type | Description |
---|---|
QueryBuilderModel | A QueryBuilderModel object. |
See Also