[英]Where can I get manuals for windows phone application that are based on a database?
Do you know a manual that explain how to use those DB's... preferably with code samples. 您是否知道一本说明如何使用这些数据库的手册的手册,最好与代码示例一起使用。
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.