ConnectionHelperExecuteNonQuery Method (String, QueryDataParameters, QueryMacros) |
Executes the query and returns the number of rows affected.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax public static int ExecuteNonQuery(
string queryName,
QueryDataParameters parameters = null,
QueryMacros macros = null
)
Parameters
- queryName
- Type: SystemString
Name of the query in format application.class.queryname - parameters (Optional)
- Type: CMS.DataEngineQueryDataParameters
Query parameters. - macros (Optional)
- Type: CMS.DataEngineQueryMacros
Query expressions.
Return Value
Type:
Int32See Also