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


Restores the backing store's cache from the EntityCacheState specified.
Syntax
'Declaration
 
Public Overloads Function RestoreAsync( _
   ByVal entityCacheState As EntityCacheState, _
   Optional ByVal shouldReplace As Boolean, _
   Optional ByVal mergeStrategy As MergeStrategy _
) As Task
'Usage
 
Dim instance As EntityServerFakeBackingStore.Local
Dim entityCacheState As EntityCacheState
Dim shouldReplace As Boolean
Dim mergeStrategy As MergeStrategy
Dim value As Task
 
value = instance.RestoreAsync(entityCacheState, shouldReplace, mergeStrategy)

Parameters

entityCacheState
shouldReplace
mergeStrategy
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

EntityServerFakeBackingStore.Local Class
EntityServerFakeBackingStore.Local Members
Overload List

Send Feedback