Add DbModel config to Rec services setup

Added options.ConfigureDbModel to the AddRecServices configuration, enabling Rec services to use settings from the "DbModel" section of the app configuration for enhanced database model customization.
This commit is contained in:
2026-03-25 13:30:12 +01:00
parent 2e83d4a24a
commit e761fbd1ca

View File

@@ -41,6 +41,7 @@ public abstract class RecApplicationTestBase : IDisposable
options.LuckyPennySoftwareLicenseKey = configuration["LuckyPennySoftwareLicenseKey"]; options.LuckyPennySoftwareLicenseKey = configuration["LuckyPennySoftwareLicenseKey"];
options.ConfigureRecActions(configuration.GetSection("RecAction")); options.ConfigureRecActions(configuration.GetSection("RecAction"));
options.ConfigureSqlException(configuration.GetSection("SqlException")); options.ConfigureSqlException(configuration.GetSection("SqlException"));
options.ConfigureDbModel(configuration.GetSection("DbModel"));
}); });
services.AddRecInfrastructure(opt => services.AddRecInfrastructure(opt =>