Sys.Data.AdoNetActionSequence.addInsertAction Method

Adds an insert operation to the execution queue.

addInsertAction: function(item, resourceSetUri, actionContext)

Usage

exampleActionSequence.addInsertAction(item, resourceSetUri, actionContext);

Parameters

Parameter

Definition

item

A JavaScript object that contains the data to insert.

resourceSetUri

The URI of the resource set into which the data is inserted.

actionContext

(Optional) The state object for this operation.

Remarks

Use the addInsertAction method to add to the queue an operation that inserts a new record through the data service. You pass the data to insert as a JavaScript object in the item parameter.

See Also

Other Resources

Sys.Data.AdoNetActionSequence Class