Click or drag to resize
GeneralConnectionExecuteNonQuery Method (String, QueryDataParameters, QueryTypeEnum, Boolean)

Note: This API is now obsolete.

Runs the query.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This methods is obsolete, use method ExecuteNonQuery(QueryParameters).")]
public virtual int ExecuteNonQuery(
	string queryText,
	QueryDataParameters parameters,
	QueryTypeEnum queryType,
	bool transaction
)

Parameters

queryText
Type: SystemString
Query text
parameters
Type: CMS.DataEngineQueryDataParameters
Query parameters
queryType
Type: CMS.DataEngineQueryTypeEnum
Query type
transaction
Type: SystemBoolean
If true, connection uses transaction for the query

Return Value

Type: Int32
See Also