TheStorageMirror<(Of <(<'T>)>)>..::..AddItems Method (List<(Of <(<'T>)>)>, Action<(Of <(<'StoreResponse>)>)>)
Adds new items to the StorageMirror's underlying MirrorCache and/or IStorageService and hands the inserted items back to the callback.
Namespace:
nsCDEngine.Engines.StorageServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public void AddItems( List<T> pDetails, Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse> pCallBack )
Public Sub AddItems ( _ pDetails As List(Of T), _ pCallBack As Action(Of TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse) _ )
public: void AddItems( List<T>^ pDetails, Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse^>^ pCallBack )
Parameters
- pDetails
- Type: List<(Of <(<'T>)>)>
The List of items to be added. The cdeMID of each item will be used as its ID in the StorageMirror.
- pCallBack
- Type: Action<(Of <(<'TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse>)>)>
The callback method that will be invoked upon error or completed insertion of items.