Answered by:
How to sync the latest added data in the database table?

Question
-
Hi,
am developing a windows store 8.1 app using C# and xaml
I am using SQL Azure Database and Mobile services to get the data into my app.
I created the Mobile Service using JavaScript backend.
Initially i have added some data into my DB table lets say 100 records and i have downloaded the 100 records into my app.
Then later i have added 20 more records into the table now the total records are 120.
When again i pull the data from the DB i need to get the newly added 20 records rather than getting the whole 120 records.
How can i achieve this?
- Edited by Santhosh Kumar.CH Friday, October 31, 2014 3:20 PM
Friday, October 31, 2014 3:04 PM
Answers
-
Hi,
Please have a check on the below link and check if it helps.
Regards,
Mekh.
- Proposed as answer by Mekh Subba Wednesday, November 5, 2014 5:22 AM
- Marked as answer by Girish Prajwal Wednesday, November 5, 2014 5:22 AM
Saturday, November 1, 2014 3:50 AM
All replies
-
Hi,
Thank you for your question.
I am trying to involve someone familiar with this topic to further look at this issue.
Regards,
Mekh.
Friday, October 31, 2014 3:35 PM -
Hi,
Please have a check on the below link and check if it helps.
Regards,
Mekh.
- Proposed as answer by Mekh Subba Wednesday, November 5, 2014 5:22 AM
- Marked as answer by Girish Prajwal Wednesday, November 5, 2014 5:22 AM
Saturday, November 1, 2014 3:50 AM -
Hi Mekh..
Thanks for your reply.
Monday, November 3, 2014 5:38 AM -
Hi Santhosh Kumar,
If I understood correctly, if your mobile service is a custom type, you need to handle that in your Mobile Service. Set some flag like lastUpdatedDate date or something, and return the updated data, instead of returning full list.
Vishnu VG
- Edited by 1-----------1 Monday, November 3, 2014 6:05 AM
Monday, November 3, 2014 6:04 AM