We have a requirement to use the Db2 database using .NET Core, for which how to inject the Db2 DBContext of Entity Framework Core to AutoFac?
Is the repository pattern good? Or do I need to develop a separate class and then inject that into AutoFac?