windows phone 7 database [closed]

余生长醉 提交于 2019-12-29 00:47:31

问题


I am developing a windows phone 7 app which will need some basic database functionality. I came across the following projects on codeplex. Has anyone tried any of these projects and can help me decide to choose one, please?

http://rapidrepository.codeplex.com/

http://winphone7db.codeplex.com/

Pratik


回答1:


We use SQLite since you can design the database ahead of time using standard SQL commands. It works pretty well on the phone.

I've written a quick start guide here: http://wirebear.com/blog/2010/11/12/using-sqlite-in-your-wp7-app

UPDATE: This was a valid solution pre-Mango but it is NOT what I would recommend now and it is not what we are doing. With Mango Microsoft has given new ways to use SQL CE with LINQ to SQL and is the better way to have a database in your app. A good guide to getting started can be found here: http://www.jeffblankenburg.com/2011/11/30/31-days-of-mango-day-30-local-database/




回答2:


There also are other databases available for the phone (see Local Sql database support for Windows phone 7).

What's best for you will depend on your requirements:
Do you need anything in particular? transactions? relations or objects?
What's most important? reliability, performance, etc.?



来源:https://stackoverflow.com/questions/4139615/windows-phone-7-database

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!