IdeaBlade DevForce 2010 Help Reference
Merge Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityCacheState Class : Merge Method



entityManager
EntityManager to merge data into
strategy
The restore strategy to use
Merges this EntityCacheState into an EntityManager.

Syntax

Visual Basic (Declaration) 
Public Function Merge( _
   ByVal entityManager As EntityManager, _
   ByVal strategy As RestoreStrategy _
) As IEnumerable(Of Tuple(Of EntityKey,EntityAspect))
Visual Basic (Usage)Copy Code
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 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.