You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly I would like to thank you for writing such a clean dapper repository pattern, it really made my job easier, the reason I open this issue (not issue actually), I wanted to know is there any way I can use multiple database ? In the example I can see you are using "AddDbConnectionInstantiatorForRepositories" method, I have a use case to use multiple MySqlConnection in the application, any help/suggestions will be appreciated.
The text was updated successfully, but these errors were encountered:
I have thought about this scenario too. If you have two MySQL connections, for example, both would have the same signature and I'm not sure how dependency injection handles this.. I think you would have an runtime error and might just need to have explicit constructors for dependency injection which would be a pain IMO. I think there is a better solution out there and I'm open to some ideas.. do you have any suggestions?
Firstly I would like to thank you for writing such a clean dapper repository pattern, it really made my job easier, the reason I open this issue (not issue actually), I wanted to know is there any way I can use multiple database ? In the example I can see you are using "AddDbConnectionInstantiatorForRepositories" method, I have a use case to use multiple MySqlConnection in the application, any help/suggestions will be appreciated.
The text was updated successfully, but these errors were encountered: