Sys.Data.AdoNetActionSequence.addUpdateAction Method

Adds an update operation to the execution queue.

addUpdateAction: function(item, updateItemUri, actionContext)

Usage

exampleActionSequence.addUpdateAction(item, updateItemUri, actionContext);

Parameters

Parameter

Definition

item

A JavaScript object with the modified data.

updateItemUri

(Optional) The URI of the item being updated, if different than the item.

actionContext

(Optional) The state object for this operation.

Remarks

Use the addUpdateAction method to add to the queue an operation that modifies an existing record through the data service. You pass the data to update as a JavaScript object in the item parameter.

See Also

Other Resources

Sys.Data.AdoNetActionSequence Class