Visual Basic (Declaration) | |
---|---|
<DataContractAttribute()> Public Class RestoreStrategy |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As RestoreStrategy |
C# | |
---|---|
[DataContractAttribute()] public class RestoreStrategy |
C++/CLI | |
---|---|
[DataContractAttribute()] public ref class RestoreStrategy |
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.
System.Object
IdeaBlade.EntityModel.RestoreStrategy
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