Shortly after the Q2 2013 release of RadControls for Windows Phone we’ve announced the CTP version of our entirely new Telerik Cloud Controls for Windows Phone suite that aims to shorten the way to making your app connected to the Cloud. Besides the cloud-enabled UI controls we’ve also released the Cloud Data Sync component which you can use to synchronize Cloud data between multiple devices.
Based on the feedback we’ve received, we are now further extending the functionality of Telerik Cloud Data Sync by introducing support for Data Relations and separate synchronization operations execution.
The Data Relations support allows you to easily define parent-child relationships on conceptually related objects like Product – Category, Person – Order, etc. The infrastructure that supports this is quite simple:
Of course both the parent and child types should be part of their corresponding SynchronizationContext.
Additionally, we have extended the synchronization API to allow you to choose which synchronization operations will be executed. A normal synchronization call triggers the following operations:
Now, if you want to execute a given operation only, you are able to do this by calling the new overload of the SynchronizeAsync method which accepts a value or a combination of values of an enum which enlists the following options:
You can find the latest version of the Cloud Data Sync component in the Q2 2013 SP1 package which has been released recently. We have updated our online help contents as well so that it's easier for you to dive into the new Data Relations APIs.
Let us know what you think!