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



Accepts all changes to this Entity, returning the EntityState to Unchanged.

Syntax

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

Remarks

AcceptChanges is automatically called by the EntityManager after a successful EntityManager.SaveChanges call; there is rarely a need to call this method directly.

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

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

© 2013 All Rights Reserved.