DomainService.PersistChangeSet Method

WCF RIA Services

[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)

protected virtual bool PersistChangeSet()

Return Value

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

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.