Visual Basic (Declaration) | |
---|---|
Public Function Merge( _ ByVal entityManager As EntityManager, _ ByVal strategy As RestoreStrategy _ ) As IEnumerable(Of Tuple(Of EntityKey,EntityAspect)) |
Visual Basic (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) |
C# | |
---|---|
public IEnumerable<Tuple<EntityKey,EntityAspect>> Merge( EntityManager entityManager, RestoreStrategy strategy ) |
C++/CLI | |
---|---|
public: IEnumerable<Tuple<EntityKey^,EntityAspect^>^>^ Merge( EntityManager^ entityManager, RestoreStrategy^ 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 intoMerge is functionally equivalent to the CacheStateManager.RestoreCacheState(EntityCacheState, RestoreStrategy) method in CacheStateManager.
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