From 47ddde239ee3f4506919a80d84acc1393a6ad0e8 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 15 Dec 2025 15:23:32 +0100 Subject: [PATCH] Update ProfileType mapping to PROFILE_TYPE_ID column Changed the entity configuration to map the ProfileType property to the "PROFILE_TYPE_ID" column instead of "PROFILE_TYPE" for consistency with database schema. --- src/ReC.Infrastructure/RecDbContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReC.Infrastructure/RecDbContext.cs b/src/ReC.Infrastructure/RecDbContext.cs index 6f057b4..203301a 100644 --- a/src/ReC.Infrastructure/RecDbContext.cs +++ b/src/ReC.Infrastructure/RecDbContext.cs @@ -229,7 +229,7 @@ public class RecDbContext(DbContextOptions options) : DbContext(op b.Property(e => e.Id).HasColumnName("ACTION_GUID"); b.Property(e => e.ProfileId).HasColumnName("PROFILE_ID"); b.Property(e => e.ProfileName).HasColumnName("PROFILE_NAME"); - b.Property(e => e.ProfileType).HasColumnName("PROFILE_TYPE"); + b.Property(e => e.ProfileType).HasColumnName("PROFILE_TYPE_ID"); b.Property(e => e.Sequence).HasColumnName("SEQUENCE"); b.Property(e => e.EndpointId).HasColumnName("ENDPOINT_ID"); b.Property(e => e.EndpointUri).HasColumnName("ENDPOINT_URI");