VansFannel
VansFannel

Reputation: 45931

Emulate a Relational Database with XML

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, maybe, I can use a XML file foreach table.

What do you think? What do you recommend me?

Upvotes: 0

Views: 236

Answers (2)

Derek Lakin
Derek Lakin

Reputation: 16319

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

Upvotes: 1

NET Experts
NET Experts

Reputation: 1536

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!

Upvotes: 0

Related Questions