AbbDbContext: Move SqliteConnection extensions to Extensions class

This commit is contained in:
lorenz.stechauner committed 2026-01-03 20:47:45 +01:00
1 parent beacdab54f
commit 3b335a568e
12 files changed
+83 -81

No files matched your search

+1 -1
View File
@@ -345,7 +345,7 @@ namespace Elwig.Helpers.Export {
$"mtime = {((DateTimeOffset)m.ModifiedAt.ToUniversalTime()).ToUnixTimeSeconds()} " +
$"WHERE ({primaryKeys[e.Key]}) = ({m.Id1}, {m.Id2});"));
using var cnx = AppDbContext.Connect();
await AppDbContext.ExecuteBatch(cnx, $"""
await cnx.ExecuteBatch($"""
BEGIN;
UPDATE client_parameter SET value = '0' WHERE param = 'ENABLE_TIME_TRIGGERS';
{string.Join("\n", updateStmts)}