Closed FoxTes closed 1 year ago
The library works perfectly with DbContext pooling. Either read the documentation for DbContext pooling or Sponsor the Project and I'll provide an example.
Well, I didn't expect such an answer. You are making an open source library. Don't you think that this instruction should be added to the readme so that people know how to use it? And not to demand money from them.
Your question isn't specific to this library, it can be rephrased as How do I configure DbContext when using DbContext pooling?
Hello.
I ran into the problem of adding this library when using a context pool.
Registration:
Error:
Unhandled exception. System.InvalidOperationException: 'OnConfiguring' cannot be used to modify DbContextOptions when DbContext pooling is enabled.