Click or drag to resize
ConnectionHelperExecuteNonQuery Method (String, QueryDataParameters, QueryTypeEnum, Boolean)
Executes query and returns the number of affected rows.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public static Object 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: Object
See Also