Sys.Data.DataContext.saveChanges Method

Saves pending changes that were made to the current data being tracked by the Sys.Data.DataContext object.

MyDataContext.saveChanges(succeededCallback, failedCallback, userContext);

Arguments

  • succeededCallback
    (Optional) A function that is called when the data changes have been successfully saved, and any return data.

  • failedCallback
    (Optional) A function that is called when the data changes were not successfully saved.

  • userContext
    (Optional) The user context.

Return Value

A WebRequest object that was used for this operation.

See Also

Other Resources

Sys.Data.DataContext Class

Language Reference