How it works? The Cloud Data Sync mechanism is designed to work with any type of Cloud Service or a Local Storage Provider. In the CTP version we ship support for SQLite for storing objects locally and the Telerik Cloud Services for storing objects in the Cloud. The whole functionality is accessible through a single class called SynchronizationContext. It is easily initialized with a couple of lines of code as shown below:
.tasksContext = SynchronizationContextPool.GetContextForType<Task>();
Task : SynchronizableDataItem
.name != value)
.name = value;
.description != value)
.description = value;
.dueDate != value)
.dueDate = value;
SynchronizationContext<Task> tasksContext = SynchronizationContextPool.GetContextForType<Task>();
Task task =
"Meeting with John"
"Meet with John to discuss the sales statistics from the last month."
DateTime(26, 12, 2013);
// Registers adds the item to the context. This stores is locally and schedules the item for server creation during the next synchronization routine
// Starts a new synchronization routine which makes sure local and Cloud items of the corresponding type are synchronized
// Marks the given object as deleted. It will be permanently deleted during the next synchronization routine.
// Deletes the task
// Synchronizes the task
Copyright © 2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.