mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
20 lines
452 B
C#
20 lines
452 B
C#
using System.Threading.Tasks;
|
|
using BuildFeed.Model;
|
|
|
|
namespace MigrateBuildStrings
|
|
{
|
|
internal class Program
|
|
{
|
|
private static void Main(string[] args)
|
|
{
|
|
Task.Run(async () =>
|
|
{
|
|
BuildRepository bModel = new BuildRepository();
|
|
foreach (Build build in await bModel.SelectBuildsByOrder())
|
|
{
|
|
await bModel.Update(build);
|
|
}
|
|
}).Wait();
|
|
}
|
|
}
|
|
} |