IdeaBlade DevForce 2010 Help Reference
RestoreStrategy Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : RestoreStrategy Class



Determines the options to use when restoring an EntityCacheState.

Syntax

Visual Basic (Declaration) 
<DataContractAttribute()>
Public Class RestoreStrategy 
Visual Basic (Usage)Copy Code
Dim instance As RestoreStrategy
C# 
[DataContractAttribute()]
public class RestoreStrategy 
C++/CLI 
[DataContractAttribute()]
public ref class RestoreStrategy 

Remarks

A RestoreStrategy is used when restoring an EntityCache with one of the CacheStateManager.RestoreCacheState(string) methods of the EntityManager.CacheStateManager.

The default RestoreStrategy will restore both the 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.