From 6082a637fe4be0b905fa20ab87e90e08b7035945 Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 25 Mar 2026 11:00:12 +0100 Subject: [PATCH] Add mapping for result type fields in RecDbContext Added entity property mappings for RESULT_TYPE_ID (Type) and RESULT_TYPE (TypeName) columns in RecDbContext to support storing and retrieving result type information. --- 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 1e8499b..98debc8 100644 --- a/src/ReC.Infrastructure/RecDbContext.cs +++ b/src/ReC.Infrastructure/RecDbContext.cs @@ -105,6 +105,8 @@ public class RecDbContext(DbContextOptions options) : DbContext(op b.Property(e => e.ProfileName).HasColumnName("PROFILE_NAME"); b.Property(e => e.StatusCode).HasColumnName("STATUS_ID"); b.Property(e => e.StatusName).HasColumnName("STATUS"); + b.Property(e => e.Type).HasColumnName("RESULT_TYPE_ID"); + b.Property(e => e.TypeName).HasColumnName("RESULT_TYPE"); b.Property(e => e.Header).HasColumnName("RESULT_HEADER"); b.Property(e => e.Body).HasColumnName("RESULT_BODY"); b.Property(e => e.Info).HasColumnName("RESULT_INFO");