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.StorageServiceAssembly: 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 )
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.