【问题标题】:How to modify sample Windows Store App built using Windows Azure Mobile Service如何修改使用 Windows Azure 移动服务构建的示例 Windows 应用商店应用程序
【发布时间】:2013-04-05 02:40:45
【问题描述】:

我已经使用 Windows Azure 移动服务创建了一个 Windows 应用商店应用程序,正如 Scott Gu 在第 9 频道视频中所解释的 - http://channel9.msdn.com/Series/Windows-Azure-Mobile-Services/Introduction-to-Windows-Azure-Mobile-Services

如视频和快速入门教程中所述,我创建了一个“ToDoItem”表,并且能够按预期运行该应用程序。我想知道,是否有任何方法可以修改“TodoItem”表结构并添加更多列并增强 Windows Store App 以映射这些列。

谢谢。

【问题讨论】:

  • 是的,为什么不呢。您只需在数据库仪表板中创建新列。

标签: windows-store-apps azure-mobile-services


【解决方案1】:

如果要向创建的表添加更多列,只需向类添加新属性并在服务中插入新项 - 默认情况下,Azure 移动服务中的表具有动态架构功能,因为如果请求与其他成员一起到达,他们将添加新列。

这在Get Started With Data tutorial in MSDN 中显示(请参阅“将新表添加到移动服务”部分,请注意在第 5 步下)。

【讨论】:

  • 谢谢@carlosfigueira。我今天会试试这个。
猜你喜欢
  • 2014-03-25
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-10-06
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多