使用Xamarin表单进行Azure存储同步

时间:2016-10-19 09:33:56

标签: c# azure xamarin.forms azure-mobile-services

我正在关注 this article &安培; this one 在我的xamarin表单应用程序中使用Azure Storage Sync。

到目前为止在iOS上测试应用程序。

以下代码执行正常

// FILES: Creating/Adding file
MobileServiceFile file = await this.monkeyTable.AddFileAsync(monkey, Path.GetFileName(targetPath));

但收到的文件对象没有ParentId或StoreUri值。它们都是空的。

缺少什么?

当我将离线表同步到azure时,它们都会更新吗?如果是这样,如何在触发同步之前使用StoreUri属性?

我们的想法是将URI属性保存在我的自定义对象中,以便在随播Web应用程序上在线使用它。

感谢任何指导。

由于 ST

0 个答案:

没有答案