如何将数据库从 Windows Phone 8 升级到 Windows Phone 8.1 [英] How to upgrade db from windows phone 8 to windows phone 8.1
问题描述
我了解到 8.1 通用应用程序不支持 SQL CE.我有一个使用 SQL CE 在市场上发布的应用程序.我想让这个应用程序成为通用应用程序.在这种情况下我如何处理升级?
I have read that SQL CE is not supported on 8.1 universal apps. I have an app published in market place using SQL CE. I want to make this app as universal app. How do I handle upgrade in such scenario?
如何将 SQL CE 从 silverlight 应用程序升级到 SQL lite 通用应用程序?有什么想法吗?
How do I upgrade SQL CE from silverlight app to SQL lite universal app?? Any ideas?
推荐答案
目前我正在将数据保存到文件中.由于该文件将在 8.1 上保持相同的格式.我在 8.1 上读取了文件,将数据转换为我的新模型并将其保存在新的数据库架构中.
Currently I am saving the data into a file. Since the file will remain in the same format on 8.1. I read the file on 8.1, transform the data into my new model and save it in the new db schema.
我现在正在使用 CSV 库,将旧模型数据转换为文件.
I am using CSV library for now, to transform old model data into file.
这篇关于如何将数据库从 Windows Phone 8 升级到 Windows Phone 8.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!