Pomelo.EntityFrameworkCore.MySql icon indicating copy to clipboard operation
Pomelo.EntityFrameworkCore.MySql copied to clipboard

Add caching option for ServerVersion.AutoDetect()

Open lauxjpn opened this issue 4 years ago • 0 comments

Many users are currently simply calling ServerVersion.AutoDetect() every time when setting up their DbContext. This will lead to an additional roundtrip every time the DbContext is setup.

We should add an option, that internally caches the ServerVersion per connection string.

lauxjpn avatar Apr 02 '21 14:04 lauxjpn