Sys.Data.AdoNetActionSequence.addRemoveAction Method

Adds a remove operation to the execution queue.

addRemoveAction: function(item, actionContext)

Usage

exampleActionSequence.addRemoveAction(item, actionContext);

Parameters

Parameter

Definition

Item

A JavaScript object with a __metadata property that specifies the resource URI of the data item to remove.

actionContext

(Optional) The state object for this operation.

Remarks

Use the addRemoveAction method to add to the queue an operation that deletes a record through the data service. You pass the data to delete as a JavaScript object in the item parameter.

See Also

Other Resources

Sys.Data.AdoNetActionSequence Class