Esempio n. 1
0
		public void LoadData(DataObject dataObject)
		{
			Stop();

			Status = StorageStatus.Starting;

			WorkerThread = new StorageThread(this);
			WorkerThread.Name = "LoadThread";
			WorkerThread.InitializeStorageInteraction(StorageRequestType.Load, dataObject);
			WorkerThread.Start();
		}
Esempio n. 2
0
		public void DeleteAllData()
		{
			Stop();
		
			Status = StorageStatus.Starting;
			
			WorkerThread = new StorageThread(this);
			WorkerThread.Name = "DeleteAllThread";
			WorkerThread.InitializeStorageInteraction(StorageRequestType.DeleteAll);
			WorkerThread.Start();
		}