ConnectionHelperExecuteNonQuery Method (String, QueryDataParameters, QueryTypeEnum, Boolean) |
Executes the query and returns the number of rows affected.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax public static int ExecuteNonQuery(
string queryText,
QueryDataParameters parameters,
QueryTypeEnum queryType,
bool transaction = false
)
Parameters
- queryText
- Type: SystemString
Query text. - parameters
- Type: CMS.DataEngineQueryDataParameters
Query parameters. - queryType
- Type: CMS.DataEngineQueryTypeEnum
Query type. - transaction (Optional)
- Type: SystemBoolean
If true, connection uses transaction for the query.
Return Value
Type:
Int32See Also