From 3e0105257991e2059cfe71c1cd39468c3f2ee1d9 Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 26 Feb 2026 21:22:41 +0100 Subject: [PATCH] Mark State class obsolete and remove LogConfig property State is now marked obsolete in favor of DbContext. Removed LogConfig property and its using directive to simplify the class. Minor formatting adjustments applied. --- EnvelopeGenerator.ServiceHost/Jobs/State.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/EnvelopeGenerator.ServiceHost/Jobs/State.cs b/EnvelopeGenerator.ServiceHost/Jobs/State.cs index 74e4f9c1..441ff185 100644 --- a/EnvelopeGenerator.ServiceHost/Jobs/State.cs +++ b/EnvelopeGenerator.ServiceHost/Jobs/State.cs @@ -1,15 +1,14 @@ using DigitalData.Modules.Database; -using DigitalData.Modules.Logging; using EnvelopeGenerator.Domain.Entities; namespace EnvelopeGenerator.ServiceHost.Jobs; +[Obsolete("Use DbContext")] public class State { public int UserId { get; set; } public FormUser? User { get; set; } public Config? Config { get; set; } public DbConfig? DbConfig { get; set; } - public LogConfig? LogConfig { get; set; } public MSSQLServer? Database { get; set; } -} +} \ No newline at end of file