Updated AddInfrastructureServices to support a generic TRecDbContext type parameter, enabling the use of custom DbContext types. Modified AddDbContext and AddDbRepository to use the generic TRecDbContext type. Added an overload of AddInfrastructureServices that defaults to RecDbContext for backward compatibility. These changes enhance flexibility and reusability while maintaining compatibility with existing implementations.
ReC
Description
Languages
C#
100%