Add ErrorAction property to RecAction and DB mapping
Added the ErrorAction property to the RecAction class for specifying error handling actions. Updated RecDbContext to map this property to the ERROR_ACTION database column.
This commit is contained in:
@@ -36,6 +36,8 @@ public class RecAction
|
|||||||
|
|
||||||
public string? PostprocessingQuery { get; set; }
|
public string? PostprocessingQuery { get; set; }
|
||||||
|
|
||||||
|
public string? ErrorAction { get; set; }
|
||||||
|
|
||||||
public string? AddedWho { get; set; }
|
public string? AddedWho { get; set; }
|
||||||
|
|
||||||
public DateTime? AddedWhen { get; set; }
|
public DateTime? AddedWhen { get; set; }
|
||||||
|
|||||||
@@ -183,6 +183,7 @@ public class RecDbContext(DbContextOptions<RecDbContext> options) : DbContext(op
|
|||||||
b.Property(e => e.HeaderQuery).HasColumnName("HEADER_QUERY");
|
b.Property(e => e.HeaderQuery).HasColumnName("HEADER_QUERY");
|
||||||
b.Property(e => e.BodyQuery).HasColumnName("BODY_QUERY");
|
b.Property(e => e.BodyQuery).HasColumnName("BODY_QUERY");
|
||||||
b.Property(e => e.PostprocessingQuery).HasColumnName("POSTPROCESSING_QUERY");
|
b.Property(e => e.PostprocessingQuery).HasColumnName("POSTPROCESSING_QUERY");
|
||||||
|
b.Property(e => e.ErrorAction).HasColumnName("ERROR_ACTION");
|
||||||
b.Property(e => e.AddedWho).HasColumnName("ADDED_WHO");
|
b.Property(e => e.AddedWho).HasColumnName("ADDED_WHO");
|
||||||
b.Property(e => e.AddedWhen).HasColumnName("ADDED_WHEN");
|
b.Property(e => e.AddedWhen).HasColumnName("ADDED_WHEN");
|
||||||
b.Property(e => e.ChangedWho).HasColumnName("CHANGED_WHO");
|
b.Property(e => e.ChangedWho).HasColumnName("CHANGED_WHO");
|
||||||
|
|||||||
Reference in New Issue
Block a user