Entity.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 property changes made to this entity back to their original values.
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
This method does not revert EntitySet add or remove operations, so if this Entity is new or deleted, this method does nothing. This method also reverts any pending custom method invocations on the entity.