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



Determines whether the EntityManager cache has any changes that have not yet been persisted to the backend data source.

Syntax

Visual Basic (Declaration) 
Public Function HasChanges() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As EntityManager
Dim value As Boolean
 
value = instance.HasChanges()
C# 
public bool HasChanges()
C++/CLI 
public:
bool HasChanges(); 

Return Value

Whether the EntityManager has any pending changes.

Remarks

Use EntityManager.SaveChanges to save changes in cached data to the backend data source.

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.