C-DEngine 5.105

TheStorageMirror<(Of <(<'T>)>)>..::..UpdateItems Method (Dictionary<(Of <(<'String, T>)>)>, Action<(Of <(<'StoreResponse>)>)>)

Updates items in the StorageMirror's underlying MirrorCache and/or IStorageService and hands the updated items back to the callback.

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

Syntax


public void UpdateItems(
	Dictionary<string, T> pDetails,
	Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse> CallBack
)
Public Sub UpdateItems ( _
	pDetails As Dictionary(Of String, T), _
	CallBack As Action(Of TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse) _
)
public:
void UpdateItems(
	Dictionary<String^, T>^ pDetails, 
	Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse^>^ CallBack
)

Parameters

pDetails
Type: Dictionary<(Of <(<'String, T>)>)>
The Dictionary of items to be updated. If an item's cdeMID is Guid.Empty, the item will be added with a new ID.
CallBack
Type: Action<(Of <(<'TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse>)>)>
The callback method that will be invoked upon error or completed update of items.