IdeaBlade DevForce 2010 Help Reference
RejectChanges Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityAspect Class : RejectChanges Method



Rejects (rolls back) all changes to this Entity since it was queried or had AcceptChanges called on it.

Syntax

Visual Basic (Declaration) 
Public Sub RejectChanges() 
Visual Basic (Usage)Copy Code
Dim instance As EntityAspect
 
instance.RejectChanges()
C# 
public void RejectChanges()
C++/CLI 
public:
void RejectChanges(); 

Remarks

Rejects any changes made to the Entity since the last save operation. This will also remove the Entity from the EntityManager if it was an 'added' object.

The EntityGroup.EntityChanging and EntityGroup.EntityChanged events will fire during a RejectChanges call with an EntityAction of EntityAction.Rollback.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

EntityAspect Class
EntityAspect Members
IdeaBlade.EntityModel.Entity.RejectChanges
IdeaBlade.EntityModel.Entity.RemoveFromManager()

© 2013 All Rights Reserved.