From 5e3e12bad89f17d8afaaf6c8965308d25ac1eea0 Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 19 Mar 2026 18:49:28 +0100 Subject: [PATCH] Add Info and Error properties to entity mapping Added Info and Error properties to the entity configuration, mapping them to the RESULT_INFO and RESULT_ERROR columns in the database using HasColumnName. This allows the entity to store and retrieve additional result information and error details. --- src/ReC.Infrastructure/RecDbContext.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ReC.Infrastructure/RecDbContext.cs b/src/ReC.Infrastructure/RecDbContext.cs index 159f864..1e8499b 100644 --- a/src/ReC.Infrastructure/RecDbContext.cs +++ b/src/ReC.Infrastructure/RecDbContext.cs @@ -107,6 +107,8 @@ public class RecDbContext(DbContextOptions options) : DbContext(op b.Property(e => e.StatusName).HasColumnName("STATUS"); b.Property(e => e.Header).HasColumnName("RESULT_HEADER"); b.Property(e => e.Body).HasColumnName("RESULT_BODY"); + b.Property(e => e.Info).HasColumnName("RESULT_INFO"); + b.Property(e => e.Error).HasColumnName("RESULT_ERROR"); b.Property(e => e.AddedWho).HasColumnName("ADDED_WHO"); b.Property(e => e.AddedWhen).HasColumnName("ADDED_WHEN"); b.Property(e => e.ChangedWho).HasColumnName("CHANGED_WHO");