Windows Phone App SQL和OneDrive [英] Windows Phone App SQL and OneDrive

查看:76
本文介绍了Windows Phone App SQL和OneDrive的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道您可以为Visual Studio下载OneDrive API,并且可以将SQL命令编程到Windows Phone应用程序中,但是可以同时执行这两项操作吗?我正在尝试开发Windows桌面程序的Windows Phone版本(不是Windows
应用程序) 我写的是访问我保留在OneDrive上的数据库。我希望Windows Phone应用程序也能够访问数据库(通过SQL),但我在OneDrive Visual Studio插件上找到的东西是打开,保存等的方法。我想要的是
不可能吗?

解决方案

你好
VBA101


>>我正在尝试开发Windows Phone程序(不是Windows应用程序)的Windows Phone版本


桌面应用程序?我建议你可以检查
本指南文章
为该帖子添加标签。这样我们就可以更清楚地了解您的情况。


>>我希望Windows Phone应用程序也能够访问数据库(通过SQL),


什么是数据库,本地数据库(如sqlite)或基于服务器的数据库?如果这是本地数据库,则可以直接从Windows Phone访问数据库。但是,对于基于服务器的数据库,没有内置的api支持直接访问数据库
,就像在.NET程序中使用ADO.NET一样。


问候。


I know that you can download a OneDrive API thing for Visual Studio and that you can program SQL commands into Windows Phone apps, but is it possible to do both? I am trying to develop a Windows Phone version of a Windows Desktop program (not a Windows app) I wrote that accesses a database that I keep on my OneDrive. I want the Windows Phone app to be able to access the database too (via SQL), but all I can find on the OneDrive Visual Studio plug-in thing are methods for opening, saving, etc. Is what I want to do not possible?

解决方案

Hello VBA101,

>> I am trying to develop a Windows Phone version of a Windows Desktop program (not a Windows app)

A desktop app? I recommend you could have a check this guide post to add a tag for the thread. So that we could understand your scenario clearer.

>> I want the Windows Phone app to be able to access the database too (via SQL),

What is the database, a local database(like sqlite) or sever-based database? If this is a local database, it is possible to access the database from windows phone directly. However, for a sever-based database, there is not built-in api that supports to access the database directly like using ADO.NET in .NET programs.

Regards.


这篇关于Windows Phone App SQL和OneDrive的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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