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.
This commit is contained in:
2026-02-26 21:22:41 +01:00
parent f49b907574
commit 3e01052579

View File

@@ -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; }
}
}