C-DEngine 5.105

IStorageService..::..EdgeDataStore<(Of <(<'T>)>)> Method

This call gives a bit more control over the storing than "EdgeCreateStore".

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

Syntax


void EdgeDataStore<T>(
	Dictionary<string, T> MyValue,
	eSCMD pCMD,
	string MagicID,
	Action<TSM> CallBack,
	string pTableName
)
Sub EdgeDataStore(Of T) ( _
	MyValue As Dictionary(Of String, T), _
	pCMD As eSCMD, _
	MagicID As String, _
	CallBack As Action(Of TSM), _
	pTableName As String _
)
generic<typename T>
void EdgeDataStore(
	Dictionary<String^, T>^ MyValue, 
	eSCMD^ pCMD, 
	String^ MagicID, 
	Action<TSM^>^ CallBack, 
	String^ pTableName
)

Type Parameters

T
The Type (class) of data to be stored

Parameters

MyValue
Type: Dictionary<(Of <(<'String, T>)>)>
A Dictionary of all values to be stored. The key is a string that will be used as the unique identifier of the record. The key but must be in a valid Guid format. Currently we cannot use GUID as the key in a generic dictionary due to a limitation of Mono on IOS
pCMD
Type: nsCDEngine.Engines.StorageService..::..eSCMD
Tells the StorageService what to do with the data
MagicID
Type: String
Some Cookie information to be passed with the call
CallBack
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"
pTableName
Type: String
Custom TableName if required