I am creating a program that has two options: offline and online storage. Online material is not a problem, it never was and probably never will be. To make things a little simpler, I use the Entity Framework with my online database to execute all my CRUDs.
In offline mode, a problem occurs. I tried to add a local SQL installation as part of the installation package, but on some computers it depended on the version of SQL I used, some people just couldn’t install it at all ... to be honest, I don’t want to go through this to get people to install the program. I want to do two things:
1) Save the data. Currently, I think Linq for XML is the best option for which nothing needs to be installed, but is there a way to map entities to classes within a program that will take care of XML CRUD?
2) Data synchronization. I think I will use the Sync Framework, but then again, without a normal database in the background, this is a bit of a pain.
Any help / advice / comments are greatly appreciated, if there is a much easier way to do all this, please let me know.
source
share