AbstractDataConnection.ExecuteQuery Method |
Returns result of the query.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntaxpublic virtual DataSet ExecuteQuery(
string queryText,
QueryDataParameters queryParams,
QueryTypeEnum queryType,
bool requiresTransaction
)
Parameters
- queryText
- Type: System.String
Query or stored procedure to be run - queryParams
- Type: CMS.DataEngine.QueryDataParameters
Query parameters - queryType
- Type: CMS.DataEngine.QueryTypeEnum
Indicates it query is a SQL query or stored procedure - requiresTransaction
- Type: System.Boolean
If true, the query should run within transaction
Return Value
Type:
DataSet
See Also