C # UWP Windows 10 project.
The application synchronizes with the server, gets 14 tables (9 of them are almost static + -200 lines, another 4 very often change but they have about 20-100 lines and one that changes constantly, both by the user and the server, there are 1000+ lines in it) .
The application should display a list from the main (the largest table), most of the data in it refers to other tables, by itself, when displaying, you need to display information from them.
Now I use SQLite, save each table, and when I save the main one, I add load information from other tables to it that is needed when displaying, then in the model I simply load the entire table into ObservableCollection and hook it to the ListView . The downside is that:
- Synchronization on the phone lasts a very long time (5-10 minutes with 2800 rows in the main table).
- When changing records in related tables, you have to overwrite all the load information in the main (which is also very long)
The question is, am I doing the right thing, or is it better to pull up the fields from the load tables via get { } ? How will this affect performance?
Or maybe there are better and faster ways to do this?