C-DEngine 5.105

TheStorageMirror<(Of <(<'T>)>)>..::..GetEntryByID Method (Guid, Action<(Of <(<'StoreResponse>)>)>, Boolean, Object)

Retrieves a single record by ID from the StorageMirror's underlying MirrorCache or IStorageService and hands it to the callback. If IsRAMStore or IsCached, the record will be retrieved from the MirrorCache. If IsRAMStore is false, the record will be retrieved from the IStorageService.

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


public void GetEntryByID(
	Guid pMagicID,
	Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse> CallBack,
	bool LocalCallBackOnly,
	Object pCookie
Public Sub GetEntryByID ( _
	pMagicID As Guid, _
	CallBack As Action(Of TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse), _
	LocalCallBackOnly As Boolean, _
	pCookie As Object _
void GetEntryByID(
	Guid^ pMagicID, 
	Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse^>^ CallBack, 
	bool^ LocalCallBackOnly, 
	Object^ pCookie


Type: Guid
The cdeMID (or record ID in the StorageMirror) of the record to retrieve.
Type: Action<(Of <(<'TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse>)>)>
The callback method that will be invoked upon error or completed retrieval of the record.
Type: Boolean
If set to true, no request is sent to a remote StorageService.
Type: Object
A cookie that will later be returned with the StoreResponse in the callback.