DevForce Help Reference
RestoreCacheState(EntityCacheState,RestoreStrategy) Method


EntityCacheState to be merged
The restore strategy to use
Merges an EntityCacheState into this EntityManager using the RestoreStrategy specified.
Syntax
'Declaration
 
Public Overloads Sub RestoreCacheState( _
   ByVal entityCacheState As EntityCacheState, _
   ByVal strategy As RestoreStrategy _
) 
'Usage
 
Dim instance As CacheStateManager
Dim entityCacheState As EntityCacheState
Dim strategy As RestoreStrategy
 
instance.RestoreCacheState(entityCacheState, strategy)
public void RestoreCacheState( 
   EntityCacheState entityCacheState,
   RestoreStrategy strategy
)

Parameters

entityCacheState
EntityCacheState to be merged
strategy
The restore strategy to use
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