简体   繁体   English

如何为Windows Phone 8移动应用程序创建持久数据库

[英]how to create persistent database for windows phone 8 mobile application

i want to create static database for windows phone 8 sdk. 我想为Windows Phone 8 sdk创建静态数据库。 I dont know in windows phone what database have to use whether sqlite or sql server. 我不知道在Windows手机中有什么数据库必须使用sqlite或sql server。 Please help me. 请帮我。 Thanks in advance. 提前致谢。

SQLite is a popular option for adding an in-process database to your Windows Phone Apps. SQLite是一种流行的选项,用于向Windows Phone应用程序添加进程内数据库。

You might want to read this article to learn more: 您可能希望阅读本文以了解更多信息:

Using the SQLite database engine with Windows Phone 8 apps 在Windows Phone 8应用程序中使用SQLite数据库引擎

If you'd rather, a @rs points out above, you might also consider SQL Server Compact Edition. 如果您更愿意,@rs指出上述内容,您可能还会考虑使用SQL Server Compact Edition。 This article from the always awesome ErikEj should set you on the right path: 来自总是很棒的ErikEj的这篇文章应该让你走上正确的道路:

Generate a Windows Phone 8 Local Database DataContext from an existing database 从现有数据库生成Windows Phone 8本地数据库DataContext

HTH. HTH。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM