SQLite Database vs online database C# UWP

瘦欲@ 提交于 2019-12-13 03:40:01

问题


I have an UWP project with SQLite database stored locally. The app is going to be used by multiple users and I am writing a Client app. Client app should pull data from users database.

Is there a way to achieve this without leaving SQLite behind?

I really like what I learned about how the SQLite works and would not like to just bin all the work I did.

Is it possible to do something like uploading users' data to the server and then retrieve it using client app? Something like uploading the localDB file to the server and downloading it by client app would work? Or is it not a recommended workaround?

Ok, I learned that I can keep using SQLite as an offline database and then sync it over the net using my server and SQLiteSync framework. I will definitely go for it. But I have one more question:

How do I extract/mark data of each user from all the others? I mean, since the SQLite is offline and local db solution, I did not implement any user/password thing. Is there an easy way to do this afterwards?

来源:https://stackoverflow.com/questions/50253333/sqlite-database-vs-online-database-c-sharp-uwp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!