Closed Alikont closed 2 years ago
thanks for the issue; you're right, it used to register the drivers dynamically, but for some reason, we hardcoded the list of drivers (probably because nobody was implementing their custom driver before).
We should implement the driver registration again.
PDOEngine
has private and internal mechanism to resolve drivers based on loaded assemblies, but assemblies and classes are hardcoded to predefined list of drivers.I'd like to have an ability to add custom drivers to this list, or override existing drivers there to provide my own implementation.
Currently as a workaround we use this code on app startup:
Ideally I'd like to have something like
void PDOEngine.RegisterDriver(PDODriver driver)