DevForce Help Reference
AcceptChanges Method (EntityAspect)


Accepts all changes to this Entity, returning the EntityState to Unchanged.
Syntax
'Declaration
 
Public Sub AcceptChanges() 
'Usage
 
Dim instance As EntityAspect
 
instance.AcceptChanges()
public void AcceptChanges()
Remarks
AcceptChanges is automatically called by the EntityManager after a successful IdeaBlade.EntityModel.EntityManager.SaveChanges() call; there is rarely a need to call this method directly.

The EntityChanging and EntityChanged events are fired with an EntityAction of EntityAction.Commit when this method is executed.

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

Send Feedback