IStorageService..::..EdgeDataCreateStore Method
Call to Create a new store (a Table in the SQL Server) in the Storage Service
Namespace:
nsCDEngine.Engines.StorageServiceAssembly: C-DEngine (in C-DEngine.dll)
Syntax
void EdgeDataCreateStore( Type MyType, Object pDefaults, string pDeviceName, string StoreDescription, bool ResetContent, Action<TSM> CallBack, string pTableName )
Parameters
- MyType
- Type: Type
The Type of the class you want to store
- pDefaults
- Type: Object
An instance of the MyType with default data to store in the table if a new table is created
- pDeviceName
- Type: String
The Name of the Device that owns this store
- StoreDescription
- Type: String
A friendly description of the data to be stored
- ResetContent
- Type: Boolean
- 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