DevForce Help Reference
AcceptChanges Method (EntityManager)


Accept changes to all modified, deleted or added entities within the cache.
Syntax
'Declaration
 
Public Sub AcceptChanges() 
'Usage
 
Dim instance As EntityManager
 
instance.AcceptChanges()
public void AcceptChanges()
Remarks
AcceptChanges is automatically called by the EntityManager after a successful SaveChanges call; there is rarely a need to call this method directly.

All entities will be marked as EntityState.Unchanged after this operation.

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

EntityManager Class
EntityManager Members

Send Feedback