From e4f81495e8d38c8273c262204b122d58c41d1ced Mon Sep 17 00:00:00 2001 From: Tobias Klika Date: Thu, 4 Dec 2025 15:17:11 +0100 Subject: [PATCH] Update DbOperations.Write.cs --- zero.Sqlite/Operations/DbOperations.Write.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zero.Sqlite/Operations/DbOperations.Write.cs b/zero.Sqlite/Operations/DbOperations.Write.cs index 85be9cd3..bf1190a6 100644 --- a/zero.Sqlite/Operations/DbOperations.Write.cs +++ b/zero.Sqlite/Operations/DbOperations.Write.cs @@ -75,7 +75,7 @@ public partial class DbOperations : IDbOperations } // create ID before-hand so interceptors can use it - if (!update) + if (!update && !model.Id.HasValue()) { model.Id = await GenerateId(model); }