Share via


DataController.PersistChangeSet Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Finalizes changes after all the operations in the current ChangeSet have been invoked.

Namespace:  System.Web.Http.Data
Assembly:  System.Web.Http.Data (in System.Web.Http.Data.dll)

Syntax

'Declaration
Protected Overridable Function PersistChangeSet As Boolean
protected virtual bool PersistChangeSet()
protected:
virtual bool PersistChangeSet()
abstract PersistChangeSet : unit -> bool 
override PersistChangeSet : unit -> bool 
protected function PersistChangeSet() : boolean

Return Value

Type: System.Boolean
true if the ChangeSet was persisted successfully; otherwise, false.

Remarks

This method should commit the changes as necessary to the data store. Any errors should be set on the individual ChangeSetEntrys in the ChangeSet.

See Also

Reference

DataController Class

System.Web.Http.Data Namespace