DevForce Help Reference
RestoreStrategy Class
Members 


Determines the options to use when restoring an EntityCacheState.
Syntax
'Declaration
 
<DataContractAttribute()>
Public Class RestoreStrategy 
'Usage
 
Dim instance As RestoreStrategy
[DataContract()]
public class RestoreStrategy 
Remarks
A RestoreStrategy is used when restoring an EntityCache with one of the CacheStateManager.RestoreCacheState(string) methods of the CacheStateManager.

The default RestoreStrategy will restore both the EntityManager.DefaultSaveOptions and EntityManager.DefaultQueryStrategy settings from the EntityManager used when CacheStateManager.SaveCacheState(string) was called. Use a custom RestoreStrategy if you are restoring to another EntityManager with different settings which should not be overwritten.

Inheritance Hierarchy

System.Object
   IdeaBlade.EntityModel.RestoreStrategy

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

RestoreStrategy Members
IdeaBlade.EntityModel Namespace

Send Feedback