C-DEngine 5.105

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

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(
	Type MyClass,
	string pColFilter,
	int pTopRows,
	int PageNumber,
	string pSQLFilter,
	string pSQLOrder,
	string pGrouping,
	string pMagicID,
	Action<TSM> pCallBack,
	bool LocalCallBackOnly,
	string pTableName
)
Sub RequestEdgeStorageData ( _
	MyClass As Type, _
	pColFilter 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, _
	pTableName As String _
)
void RequestEdgeStorageData(
	Type^ MyClass, 
	String^ pColFilter, 
	int^ pTopRows, 
	int^ PageNumber, 
	String^ pSQLFilter, 
	String^ pSQLOrder, 
	String^ pGrouping, 
	String^ pMagicID, 
	Action<TSM^>^ pCallBack, 
	bool^ LocalCallBackOnly, 
	String^ pTableName
)

Parameters

MyClass
Type: Type
Type of class to be expected
pColFilter
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.
pTableName
Type: String
Custom TableName if required