Click or drag to resize
AbstractDataConnectionExecuteNonQuery Method
Executes the query and returns the number of rows affected.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public virtual int ExecuteNonQuery(
	string queryText,
	QueryDataParameters queryParams,
	QueryTypeEnum queryType,
	bool requiresTransaction
)

Parameters

queryText
Type: SystemString
Query or stored procedure to be run.
queryParams
Type: CMS.DataEngineQueryDataParameters
Query parameters.
queryType
Type: CMS.DataEngineQueryTypeEnum
Indicates if query is a SQL query or stored procedure.
requiresTransaction
Type: SystemBoolean
If true, the query should run within transaction.

Return Value

Type: Int32

Implements

IDataConnectionExecuteNonQuery(String, QueryDataParameters, QueryTypeEnum, Boolean)
See Also