Sys.Data.ActionSequence
Exposes methods and a property for performing a sequence of operations against a data service.
Namespace: Sys.Data.
Inherits: None.
Syntax
Sys.Data.ActionSequence = function(dataService)
Public Constructors
Members
Remarks
You use the ActionSequence class to add data operations that you wish to execute as a single batch. You use the addInsertAction, addUpdateAction, and addRemoveAction methods to add operations to the queue of operations. The operations are executed in the same order you add them to the queue. To execute the batch of operations, you must call the executeActions method. When calling the executeActions method, you can pass a callback method which is called after all of the operations have executed. In that callback method, you can examine the results of each operation in the queue.
You create a new instance of the ActionSequence class by calling the createActionSequence method on the DataService class. The createActionSequence method returns an ActionSequence object with its service property set to the current instance of the DataService class.
To remove data operations from the queue, you must call the clearActions method.
This topic is ASP.NET Extensions documentation and is unsupported by Microsoft. Blank topics are included as placeholders and existing content is subject to change in future releases.