DevForce Help Reference
Restore(EntityCacheState,Boolean,MergeStrategy) Method


Restores the backing store's cache from the EntityCacheState specified.
Syntax
'Declaration
 
Overloads Sub Restore( _
   ByVal entityCacheState As EntityCacheState, _
   Optional ByVal shouldReplace As Boolean, _
   Optional ByVal mergeStrategy As MergeStrategy _
) 
'Usage
 
Dim instance As IEntityServerFakeBackingStore
Dim entityCacheState As EntityCacheState
Dim shouldReplace As Boolean
Dim mergeStrategy As MergeStrategy
 
instance.Restore(entityCacheState, shouldReplace, mergeStrategy)

Parameters

entityCacheState
shouldReplace
mergeStrategy
Remarks
The stream should have been saved previously using either Save(Stream,Boolean) or the SaveCacheState method of the CacheStateManager.
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

IEntityServerFakeBackingStore Interface
IEntityServerFakeBackingStore Members
Overload List

Send Feedback