AsNoTracking()

This commit is contained in:
Michał Zieliński
2025-02-19 13:14:06 +01:00
parent 3fe0912640
commit 9b8203e828
15 changed files with 35 additions and 290 deletions

View File

@@ -53,6 +53,7 @@ public class T5LastValuesProcessor(
.Where(x => x.ParentId == sourceImportWorker.Id
&& !x.IsDeleted)
.OrderByDescending(x => x.CreatedAt)
.AsNoTracking()
.ToList();
if (dataSources.Count == 0) throw new Exception($"DataSource is empty, {sourceImportWorker.Name}");