如何使用.Net Backend访问新创建的移动服务中的现有数据库? [英] How to access the existing db in newly created mobile service using .Net Backend?

查看:68
本文介绍了如何使用.Net Backend访问新创建的移动服务中的现有数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





正在使用C#和xaml开发Windows应用商店8.1应用。



I已经在SQL Azure中拥有一个数据库..

现在我已经创建了一个新的移动服务,我希望使用.net后端将现有数据(表)用于新创建的移动服务。 />


当我创建新的移动服务时,它创建了一个不同的架构,



我如何使用现有架构和它的数据使用MobileService?

Hi,

am developing a Windows Store 8.1 app using C# and xaml.

I already have a database in SQL Azure..
Now i have created a new mobile service and i want to use the existing data(tables) to the newly created mobile service using .net back end.

As i created the new mobile service it created a different schema,

how can i use the existing schema and its data using MobileService?

推荐答案

您需要在azure移动服务中创建现有表 - 数据选项卡。

你不需要必须指定列。它只会为此创建架构,并且自动存在的表(带列)将在移动服务中可见。
You need to create existing tables in azure mobile service -- data tab.
You don't have to specify columns. It will just create schema for this and automatically existing tables ( with columns ) will be visible in mobile service.


这篇关于如何使用.Net Backend访问新创建的移动服务中的现有数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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