简体   繁体   English

在哪里可以获得基于数据库的Windows Phone应用程序手册?

[英]Where can I get manuals for windows phone application that are based on a database?

  1. What is the native database the windows phone use like (coredata and sql-light in the iphone) Windows Phone使用的本机数据库是什么(iPhone中的coredata和sql-light)
  2. Do you know a manual that explain how to use those DB's... preferably with code samples. 您是否知道一本说明如何使用这些数据库的手册的手册,最好与代码示例一起使用。

    • I don't like to use DBs no matter how good they are if they are not considered main stream such that I can trust future microsoft versions support (I know that I can't trust nothing - yet, I prefer playing safe) 如果数据库不被视为主流,我不喜欢使用数据库,无论它们有多好,这样我就可以相信将来的Microsoft版本支持(我知道我什么都不能相信,但是我更喜欢打安全的游戏)

Thanks Asaf 谢谢阿萨夫

Currently, Windos Phone 7 does not come with native database support for developers. 当前,Windos Phone 7 为开发人员提供本机数据库支持。 You have 3 options for storing data: 1. Use the isolated storage of the phone 2. Store your data using a cloud service 3. user a non-native db such as Perst. 您有3种存储数据的选项:1.使用电话的隔离存储2.使用云服务存储数据3.使用非本地数据库(例如Perst)使用用户。

If you have a small amount of data, then serialize it to xml or json file, and store it on the isolated storage of the phone. 如果数据量少,则将其序列化为xml或json文件,然后将其存储在电话的隔离存储器中。

If your data is large, you will need to use a cloud service or a database such as perst. 如果您的数据很大,则需要使用云服务或诸如perst之类的数据库。

If by "native" you mean "already residing on the phone" then you don't have a whole lot of options. 如果用“本机”表示“已经驻留在电话中”,那么您就没有太多选择。 SQL Compact is already built in to the device - you just can't yet use it from 3rd party applications in the first platform release. SQL精简已经内置于设备-你只是还不能在第一平台发布使用从第三方应用程序。 There simply isn't a database engine already on the platform that is available to third-party developers. 平台上根本没有数据库引擎可供第三方开发人员使用。

Your only option for persistent storage out of the box is isolated storage. 开箱即用的持久存储的唯一选择是隔离存储。 Microsoft does not ship any database engine usable by third parties that uses that, so your options are to either use a third party solution like Perst (which has been around for a while) or SQLite (I've started the port to my ORM ) or to roll your own. Microsoft不会提供任何第三方使用的数据库引擎,因此您的选择是使用第三方解决方案,例如Perst(已经存在了一段时间)或SQLite(我已经开始移植到ORM了 )或自己动手。

If you are using .NET Compact framework, there is the Sql Server Compact Edition. 如果使用的是.NET Compact框架,则有Sql Server Compact Edition。 As for the manuals, you can always find something related to this on MSDN. 至于手册,您总是可以在MSDN上找到与此相关的内容。 (I am not sure what you mean by native database.) (我不确定本机数据库是什么意思。)

There may be examples of Perst for Windows Phone 7 or other C# ports of SQL-like Database implementations in this is for Windows Phone 7 - access to SQL CE on the phone is currently unavailable to developers at this time. 在Windows Phone 7中可能有用于Windows Phone 7的Perst或类似SQL的数据库实现的其他C#端口的示例,这是针对Windows Phone 7的-开发人员当前无法在电话上访问SQL CE。 Look for some examples of these being used and you'll find most of the information on these. 查找一些正在使用的示例,您将找到有关这些示例的大多数信息。 SQL CE for Windows Phone 7 may be available at some point in the future for developers, however nothing has been announced or confirmed regarding this. Windows Phone 7的SQL CE可能会在将来某个时间面向开发人员使用,但是对此尚未宣布或确认。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows Phone 7.5 Mango应用程序上的预加载数据库 - Preloaded Database on Windows Phone 7.5 Mango Application 在Windows Phone应用程序中添加现有的SQLite数据库? - Add Existing SQLite Database in Windows Phone Application? 本地数据库选择(Windows Phone 8.1应用程序) - Local database choice (Windows Phone 8.1 application) 显示本地文件夹中的图像,其中图像名称作为来源从Windows Phone 8应用程序中的sqlite数据库获取 - display image from local folder where image name as source get from sqlite database in windows phone 8 apps 如何开始Windows Phone数据库编程 - How to get started with Windows Phone database programming 我需要一些帮助来为Windows Phone 7.5应用程序选择数据库类型吗? - I need some help to choose database type for my windows phone 7.5 application? 如何将Windows Phone 7连接到数据库? - How can you connect Windows phone 7 to a database? 我可以在我的 android 手机的新应用程序中访问现有应用程序的数据库吗? - Can I access the database of an existing application in a new application in my android phone? 从哪里可以获取SQL SERVER数据库文件? - From where I can get the SQL SERVER database file? 在哪里可以获得美国社区的完整数据库? - Where can I get a full database of american neighborhoods?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM