[WIP] Use compiled queries
Test / Run tests (push) Successful in 2m54s

This commit is contained in:
lorenz.stechauner committed 2026-04-05 00:21:29 +02:00
1 parent bd1e579674
commit 01c0cba190
42 files changed
+393 -379

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ namespace Elwig.Helpers.Export {
List<WbGl> currentWbGls;
using (var ctx = new AppDbContext()) {
branches = await ctx.Branches.ToDictionaryAsync(b => b.ZwstId);
branches = await ctx.FetchBranches().ToDictionaryAsync(b => b.ZwstId);
currentDids = await ctx.Deliveries
.GroupBy(d => d.Year)
.ToDictionaryAsync(g => g.Key, g => g.Max(d => d.DId));