C-DEngine 5.105

TheMirrorCache<(Of <(<'T>)>)>..::..AddItems Method (Dictionary<(Of <(<'Guid, T>)>)>, Action<(Of <(<'List<(Of <(<'T>)>)>>)>)>)

New in V2.5: Adds a dictionary of T to the StorageMirrorCache The Guid in the Key will be copied to the cdeMID (IndexKey) of T If the key already exists in the store, the record will not be added.

Namespace:  nsCDEngine.Engines.StorageService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void AddItems(
	Dictionary<Guid, T> pDetails,
	Action<List<T>> CallBack
)
Public Sub AddItems ( _
	pDetails As Dictionary(Of Guid, T), _
	CallBack As Action(Of List(Of T)) _
)
public:
void AddItems(
	Dictionary<Guid^, T>^ pDetails, 
	Action<List<T>^>^ CallBack
)

Parameters

pDetails
Type: Dictionary<(Of <(<'Guid, T>)>)>
List of Records to be added to the Mirror
CallBack
Type: Action<(Of <(<'List<(Of <(<'T>)>)>>)>)>
Callback with a list of all successfully added items