samedi 11 avril 2015

A way out to Query execution failed with result: 'BUSY' on writing data simultaneously

my windows 8.1 store application uses MobileSyncService and SQLite for offline data storage which is pushed to azure. there are times when I have to sync online data using MobileService.GetSyncTable pullasync at the same time other table in is updated using simple SQLite query like Connection.InsertAsync(query). Since both the actions are simultaneously I get Query execution failed with result: 'BUSY' exception. Is there a way to solve this or a better approach to this.


Aucun commentaire:

Enregistrer un commentaire