I am working on an ASP.NET MVC (in c#) site which connects to a database and takes advantage of the entities framework. I'd like people to be able to modify the information in the database from the site (since it seems to me to be much easier to display and validate data via an ASP.NET MVC site than a Desktop app while being much easier to distribute the tools to do). Then I want users to be able to export the database (after the changes they made) to an XML file which can be loaded by a desktop application I created. I'm wondering if there is an easy way to have the classes created by the entities framework which represent the data in the database serialize their information to an XML file? Then I asume I'd be able to reuse the same generated code in my desktop application to read those XML files and create the objects to represent the data for use in that program?
Would it be easier to just export the database somehow and then use the same code generated to read from a local database on the clients computer instead of an xml file (The clients computers may not be able to access the internet so the data has to be stored locally)?
Would you go about this in a different? Thanks in advance for all of your input!!!