Click or drag to resize
AbstractInfoProviderTInfo, TProvider, TQueryUpdateData Method (IWhereCondition, IEnumerableKeyValuePairString, Object, Boolean)
Updates the data in the database based on the given where condition.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
protected virtual void UpdateData(
	IWhereCondition where,
	IEnumerable<KeyValuePair<string, Object>> values,
	bool useAPI = false
)

Parameters

where
Type: CMS.DataEngineIWhereCondition
Where condition
values
Type: System.Collections.GenericIEnumerableKeyValuePairString, Object
New values for the data. Dictionary of [columnName] => [value]
useAPI (Optional)
Type: SystemBoolean
If true, data is updated using the API. If false, with bulk update query
See Also