LinqToEntitiesDomainService<TContext>.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.EntityFramework
Assembly:  System.ServiceModel.DomainServices.EntityFramework (in System.ServiceModel.DomainServices.EntityFramework.dll)

Syntax

'Declaration
Protected Overrides Function PersistChangeSet As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.PersistChangeSet()
protected override bool PersistChangeSet()
protected:
virtual bool PersistChangeSet() override
abstract PersistChangeSet : unit -> bool 
override PersistChangeSet : unit -> bool 
protected override function PersistChangeSet() : boolean

Return Value

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

Remarks

All changes are committed to the ObjectContext, and any resulting optimistic concurrency errors are processed.

See Also

Reference

LinqToEntitiesDomainService<TContext> Class

System.ServiceModel.DomainServices.EntityFramework Namespace