C-DEngine 5.105

IStorageService..::..RequestEdgeStorageData Method (String, String, Int32, Int32, String, String, String, String, Action<(Of <(<'TSM>)>)>, Boolean)

This is the main function to retrieve data from the StorageService.

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

Syntax


void RequestEdgeStorageData(
	string pUniqueID,
	string ColFilter,
	int pTopRows,
	int PageNumber,
	string pSQLFilter,
	string pSQLOrder,
	string pGrouping,
	string pMagicID,
	Action<TSM> pCallBack,
	bool LocalCallBackOnly
)
Sub RequestEdgeStorageData ( _
	pUniqueID As String, _
	ColFilter As String, _
	pTopRows As Integer, _
	PageNumber As Integer, _
	pSQLFilter As String, _
	pSQLOrder As String, _
	pGrouping As String, _
	pMagicID As String, _
	pCallBack As Action(Of TSM), _
	LocalCallBackOnly As Boolean _
)
void RequestEdgeStorageData(
	String^ pUniqueID, 
	String^ ColFilter, 
	int^ pTopRows, 
	int^ PageNumber, 
	String^ pSQLFilter, 
	String^ pSQLOrder, 
	String^ pGrouping, 
	String^ pMagicID, 
	Action<TSM^>^ pCallBack, 
	bool^ LocalCallBackOnly
)

Parameters

pUniqueID
Type: String
A string representation of the class calculated by the StorageService - if you use this function with a StorageMirror that has a fixed TableName, you need to set it here
ColFilter
Type: String
Filter (Separated by ;) of colums (Class-Fields) that are expected back
pTopRows
Type: Int32
TOP Clause for SQL Servers
PageNumber
Type: Int32
Page of data requested. i.e TOP=30 and Page=4 returns recordes 150-179 according to filter and ordering
pSQLFilter
Type: String
SQL Filter for the query. Each class field can be used in this filter
pSQLOrder
Type: String
Fieldname (or names separated by ,) to specify the order for the returning data
pGrouping
Type: String
Group by clause for the query
pMagicID
Type: String
Cookie to be passed with the Query
pCallBack
Type: Action<(Of <(<'TSM>)>)>
This callback is called when the call is finished and contains a TSM with the result. The TXT parameter contains "DATARETREIVED:" and the PLS contains a serialized "TheDataRetreivalRecord"
LocalCallBackOnly
Type: Boolean
If this value is set to true, no request is sent to a remote StorageService.