Visual Basic (Declaration) | |
---|---|
Public Sub RejectChanges() |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EntityAspect instance.RejectChanges() |
C# | |
---|---|
public void RejectChanges() |
C++/CLI | |
---|---|
public: void RejectChanges(); |
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.
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
Reference
EntityAspect ClassEntityAspect Members
IdeaBlade.EntityModel.Entity.RejectChanges
IdeaBlade.EntityModel.Entity.RemoveFromManager()