IdeaBlade DevForce 2010 Help Reference
GetCacheState() Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > CacheStateManager Class > GetCacheState Method : GetCacheState() Method



Returns an EntityCacheState that can be serialized to a stream or file to store the current state of the EntityManager.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetCacheState() As EntityCacheState
Visual Basic (Usage)Copy Code
Dim instance As CacheStateManager
Dim value As EntityCacheState
 
value = instance.GetCacheState()
C# 
public EntityCacheState GetCacheState()
C++/CLI 
public:
EntityCacheState^ GetCacheState(); 

Remarks

You can work directly with an EntityCacheState using its EntityCacheState.Save, EntityCacheState.Restore and Merge features, or instead use the corresponding EntityCacheManager methods SaveCacheState(String,Boolean) and RestoreCacheState(String,Boolean).

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.