开发者

Emulate a Relational Database with XML

开发者 https://www.devze.com 2023-02-24 19:47 出处:网络
I\'m developing a Windows Phone app. I want to make a prototype with some sample data that I have in a SQLite database.

I'm developing a Windows Phone app.

I want to make a prototype with some sample data that I have in a SQLite database.

I don't know if it is the best approach to make a single XML file with all tables inside. Or, may开发者_运维知识库be, I can use a XML file foreach table.

What do you think? What do you recommend me?


Why not just use SQLite directly on the device? Rudi Grobler has a useful post about using SQLite on WP7


Hi this is only my suggestion. Create a DataSet at runtime and add DataTables inside. You can save the DataSet as XML and vice versa. Hope you consider it will help. Thank you!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号