DevForce Help Reference
RejectChanges Method (EntityAspect)


Rejects (rolls back) all changes to this Entity since it was queried or had AcceptChanges called on it.
Syntax
'Declaration
 
Public Sub RejectChanges() 
'Usage
 
Dim instance As EntityAspect
 
instance.RejectChanges()
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 EntityChanging and EntityChanged events will fire during a RejectChanges call with an EntityAction of EntityAction.Rollback.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

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

Send Feedback