C-DEngine 5.105

TheStorageMirror<(Of <(<'T>)>)>..::..GetGroupResult Method

Retrieves groups of records from the StorageMirror's underlying MirrorCache or IStorageService and hands it to the callback. If IsRAMStore or IsCached, the groups will be retrieved from the MirrorCache. If IsRAMStore is false, the groups will be retrieved from the IStorageService.

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


public void GetGroupResult(
	string pColumFilter,
	string pGrouping,
	Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse> CallBack,
	bool LocalCallBackOnly,
	Object pCookie
Public Sub GetGroupResult ( _
	pColumFilter As String, _
	pGrouping As String, _
	CallBack As Action(Of TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse), _
	LocalCallBackOnly As Boolean, _
	pCookie As Object _
void GetGroupResult(
	String^ pColumFilter, 
	String^ pGrouping, 
	Action<TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse^>^ CallBack, 
	bool^ LocalCallBackOnly, 
	Object^ pCookie


Type: String
The "SELECT" clause to specify which columns (properties) will be contained in the records returned. Note that this is only used for retrieval from the IStorageService and not the MirrorCache. Generally the string should consist of the form [PropertyName1], [PropertyName2], ... e.g. EngineName, DeviceType, ...etc. If pGrouping is specified, this should typically contain an aggregate function and only columns also in the pGrouping.
Type: String
The "GROUP BY" clause to specify how to group the records. Note that for retrieval from the MirrorCache, this should only contain one property name. Otherwise, the string should generally consist of the form [PropertyName1], [PropertyName2], ... e.g. EngineName, DeviceType, ... etc.
Type: Action<(Of <(<'TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse>)>)>
The callback method that will be invoked upon error or completed retrieval of records.
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.