From 48039b8fd55bf5b9a0074ef8f535d9f76ecd5e7f Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 10 Dec 2025 13:46:23 +0100 Subject: [PATCH] Rename ColumnName to ColumnMappings in EntityBaseOptions Renamed the ColumnName property to ColumnMappings in the EntityBaseOptions record for improved clarity and consistency. Updated all internal references accordingly; no changes to logic or initialization. --- src/ReC.Infrastructure/Options/Shared/EntityBaseOptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ReC.Infrastructure/Options/Shared/EntityBaseOptions.cs b/src/ReC.Infrastructure/Options/Shared/EntityBaseOptions.cs index 74b0188..c9d343f 100644 --- a/src/ReC.Infrastructure/Options/Shared/EntityBaseOptions.cs +++ b/src/ReC.Infrastructure/Options/Shared/EntityBaseOptions.cs @@ -4,11 +4,11 @@ namespace ReC.Infrastructure.Options.Shared; public record EntityBaseOptions() { - public Dictionary ColumnName { get; init; } = []; + public Dictionary ColumnMappings { get; init; } = []; public void EnsureProperties(IEnumerable propertyNames) { - var missingProperties = propertyNames.Except(ColumnName.Select(col => col.Key)).ToList(); + var missingProperties = propertyNames.Except(ColumnMappings.Select(col => col.Key)).ToList(); if (missingProperties.Count != 0) throw new InvalidOperationException($"The following properties are not configured: {string.Join(", ", missingProperties)}");