EntitySet.RejectChanges 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.]

Reverts all changes made to this EntitySet.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Protected Sub RejectChanges
'Usage

Me.RejectChanges()
protected void RejectChanges()
protected:
void RejectChanges()
member RejectChanges : unit -> unit 
protected function RejectChanges()

Remarks

For modified entities, all modified property values are set back to their original values. New entities are removed, and any entities that were removed are re-added.

See Also

Reference

EntitySet Class

System.ServiceModel.DomainServices.Client Namespace