且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何为多租户Azure应用程序创建应用程序后台作业

更新时间:2023-02-20 19:42:28

我认为您可以尝试使用

I think you could try going with a Timer trigger for Azure Functions and just place the code that iterates through the databases and perform the required tasks inside as Azure Function.

我什至会进一步将流程分为两个不同的功能:

I would even go further to separate the process into two different functions:

  1. 遍历数据库

  1. Iterating through the databases

为每个数据库执行所需的逻辑

Perform the required logic per database

希望有帮助!