问题
I am currently working on a game in c# that I want to put on the market for windows 7, windows phone mango, and Xbox 360. Which SQL package will be portable across all 3 platforms for a database that I need?
回答1:
SQLite is almost definitely your best bet if you want the same database backend over all three platforms. There is a port of it for windows phone 7, there is a really good .NET library for windows, and apparently is no problem on XNA.
The only one of those three platforms I've used it extensively on is windows 7, and it's been really good.
The only thing I'd add is that while I think SQLite is a good choice for all three platforms, there is no need to have the same backend, the actual choice of back end is pretty easily abstracted away.
回答2:
CoolStorage is a cross-platform database library supporting a number of database backends (including SQLite). The Windows Phone version supports (only) SQLite in isolated storage, but when you compile the source code, I bet it also works perfectly on Xbox (using SQLite).
This is the link: http://viciproject.com/coolstorage
回答3:
According to this, there is no database support for Windows Phone 7.
You can probably use SQLite (the norm for Android). Apparently there are several possibilities of running that on Windows Phone 7. Do a Google search for sqlite Windows Phone
.
来源:https://stackoverflow.com/questions/9728306/c-sharp-databases-for-wp7-pc-and-xbox