Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
public override async Task RunAsync() { int liveRoomCount = await Collector.CollectRoomCountAsync("0").ConfigureAwait(true); ShowLogInfo(liveRoomCount.ToString()); var item = BilibiliLiveRoomCount.Create(liveRoomCount); using var context = new BilibiliDbContext(DbConfig); context.Database.EnsureCreated(); context.LiveRoomCount.Add(item); await context.SaveChangesAsync(); }