changed DateTime to DateTimeOffset

This commit is contained in:
Paul Koudelka committed 2026-08-10 20:06:51 +02:00
1 parent 9ab196c13c
commit 6985678d2f
8 files changed
+70 -71

No files matched your search

@@ -139,7 +139,7 @@ public sealed class SqliteEmbeddingStateClientImplementation(
return;
dataSource.VectorSize = vectorSize;
dataSource.UpdatedAtUtc = DateTime.UtcNow;
dataSource.UpdatedAtUtc = DateTimeOffset.UtcNow;
await context.SaveChangesAsync(token);
}
@@ -151,7 +151,7 @@ public sealed class SqliteEmbeddingStateClientImplementation(
return;
dataSource.SourceHash = sourceHash;
dataSource.UpdatedAtUtc = DateTime.UtcNow;
dataSource.UpdatedAtUtc = DateTimeOffset.UtcNow;
await context.SaveChangesAsync(token);
}
@@ -343,7 +343,7 @@ public sealed class SqliteEmbeddingStateClientImplementation(
dataSource.EmbeddingSignature = embeddingSignature;
dataSource.SourceHash = sourceHash;
dataSource.VectorSize = vectorSize;
dataSource.UpdatedAtUtc = DateTime.UtcNow;
dataSource.UpdatedAtUtc = DateTimeOffset.UtcNow;
}
private static void ApplyFile(EmbeddingStateFileEntity fileEntity, string dataSourceId, EmbeddingStateFile file)