windows phone 7数据库 [英] windows phone 7 database

查看:193
本文介绍了windows phone 7数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个windows phone 7应用程序,需要一些基本的数据库功能。我在codeplex上遇到了以下项目。有没有人尝试过这些项目,可以帮我决定选择一个?

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

推荐答案

我们使用SQLite,因为您可以使用标准的SQL命令提前设计数据库。

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

我在这里写了一份快速入门指南: http://wirebear.com/blog/2010/11/12/using-sqlite-in-your-wp7-app

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


UPDATE:
这是一个有效的解决方案 pre-Mango ,但它不是我现在建议,这不是我们在做什么。使用Mango Microsoft已经提供了新的方法来使用SQL CE与LINQ to SQL,并且是更好的方式在您的应用程序中有一个数据库。有关入门的良好指南,请访问以下网址: http://www.jeffblankenburg.com/2011/11/30/31-days-of-mango-day-30-local-database/

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/

这篇关于windows phone 7数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆