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)}");