DevForce Help Reference
Merge Method (EntityCacheState)


EntityManager to merge data into
The restore strategy to use
Merges this EntityCacheState into an EntityManager.
Syntax
'Declaration
 
Public Function Merge( _
   ByVal entityManager As EntityManager, _
   ByVal strategy As RestoreStrategy _
) As IEnumerable(Of Tuple(Of EntityKey,EntityAspect))
'Usage
 
Dim instance As EntityCacheState
Dim entityManager As EntityManager
Dim strategy As RestoreStrategy
Dim value As IEnumerable(Of Tuple(Of EntityKey,EntityAspect))
 
value = instance.Merge(entityManager, strategy)

Parameters

entityManager
EntityManager to merge data into
strategy
The restore strategy to use

Return Value

An collection of original entityKeys and the EntityAspects that they were merged into
Remarks
Merge is functionally equivalent to the CacheStateManager.RestoreCacheState(EntityCacheState, RestoreStrategy) method in 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

EntityCacheState Class
EntityCacheState Members

Send Feedback