DevForce Help Reference
RestoreCacheState(EntityCacheState) Method


EntityCacheState object to be merged
Restores the EntityManager cache state from either a stream or file. Merges an EntityCacheState into this EntityManager using the Normal RestoreStrategy.
Syntax
'Declaration
 
Public Overloads Sub RestoreCacheState( _
   ByVal entityCacheState As EntityCacheState _
) 
'Usage
 
Dim instance As CacheStateManager
Dim entityCacheState As EntityCacheState
 
instance.RestoreCacheState(entityCacheState)
public void RestoreCacheState( 
   EntityCacheState entityCacheState
)

Parameters

entityCacheState
EntityCacheState object to be merged
Remarks
The entityCacheState provided can be an EntityCacheState deserialized using the EntityCacheState.Restore method or an EntityCacheState created from another EntityManager.
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

CacheStateManager Class
CacheStateManager Members
Overload List
SaveCacheState(String,Boolean) Method
RestoreCacheState(String,Boolean) Method

Send Feedback