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:
@@ -1,15 +1,14 @@
|
|||||||
using DigitalData.Modules.Database;
|
using DigitalData.Modules.Database;
|
||||||
using DigitalData.Modules.Logging;
|
|
||||||
using EnvelopeGenerator.Domain.Entities;
|
using EnvelopeGenerator.Domain.Entities;
|
||||||
|
|
||||||
namespace EnvelopeGenerator.ServiceHost.Jobs;
|
namespace EnvelopeGenerator.ServiceHost.Jobs;
|
||||||
|
|
||||||
|
[Obsolete("Use DbContext")]
|
||||||
public class State
|
public class State
|
||||||
{
|
{
|
||||||
public int UserId { get; set; }
|
public int UserId { get; set; }
|
||||||
public FormUser? User { get; set; }
|
public FormUser? User { get; set; }
|
||||||
public Config? Config { get; set; }
|
public Config? Config { get; set; }
|
||||||
public DbConfig? DbConfig { get; set; }
|
public DbConfig? DbConfig { get; set; }
|
||||||
public LogConfig? LogConfig { get; set; }
|
|
||||||
public MSSQLServer? Database { get; set; }
|
public MSSQLServer? Database { get; set; }
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user