gpt4 book ai didi

azure - 将单个表数据推送到 Azure

转载 作者:行者123 更新时间:2023-12-02 08:06:54 25 4
gpt4 key购买 nike

我正在使用使用Xamarin-Forms创建的移动应用程序,我们有Azure作为我们的中间件,因此我们从Mobile的SQLite Db将数据推送到Azure,该应用程序也支持离线功能。我读到的内容 https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-offline-data-sync/

我们无法将单个表数据推送到 Azure,当在我的应用程序中调用时

await AzureServiceProvider.Instance.PushDataAsync();

它是否总是将所有表数据推送到azure?如果是,有没有办法只推送与执行 CRUD 操作的页面相关的表数据?

最佳答案

does it always push all the tables data to azure?

是的,确实如此。来自帮助:

This sync context helps preserve table relationships by tracking and pushing changes in all tables a client app has modified when PushAsync is called.

关于下一个问题:

is there a way to push only table data related to the Page where CRUD operations has been performed

我没有使用标准同步。我尝试了很长时间,但很痛苦。我在 Azure 移动应用程序中创建了自己的 ApiController。

关于azure - 将单个表数据推送到 Azure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39016590/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com