Windows 电话 7 数据库 [英] windows phone 7 database

查看:16
本文介绍了Windows 电话 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/

普拉提

推荐答案

我们使用 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

更新:这是一个有效的解决方案芒果之前,但这不是我现在推荐的,也不是我们正在做的.借助 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 电话 7 数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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