DomainService.PersistChangeSet Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Finalizes changes after all the operations in the ChangeSet have been invoked.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Protected Overridable Function PersistChangeSet As Boolean
'Usage
Dim returnValue As Boolean
returnValue = Me.PersistChangeSet()
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
When implemented in a derived class, this method should commit the changes to the data source as needed. Any errors should be set on the individual ChangeSetEntry instances in the ChangeSet.