BCSTable UpdateValues Method (IEnumerable String , IEnumerable Object , IEnumerable String , IEnumerable Object )Meridian Enterprise 2013 Developer's Guide | BlueCielo ECM Solutions
Updates values in the table.

Namespace: BlueCieloECM.InnoCielo.Meridian.Scripting
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.53.0)
Syntax

public void UpdateValues(
	IEnumerable<string> matchColumns,
	IEnumerable<Object> matchValues,
	IEnumerable<string> setColumns,
	IEnumerable<Object> setValues
)

Parameters

matchColumns
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
The collection of column names of which to search the value for a match.
matchValues
Type: OnlineSystem.Collections.Generic IEnumerable OnlineObject 
The collection of field values to match. The collection size must be the same as the matchColumns collection size.
setColumns
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
The collection of column names to update.
setValues
Type: OnlineSystem.Collections.Generic IEnumerable OnlineObject 
The collection of field values. The collection size must be the same as the setColumns collection size.
Remarks

Executes a query like: UPDATE TableName SET setColumns = 'setValues'[,...])[ WHERE (MatchColumns = MatchValues[ AND ...])]
See Also