Working around the lack of dynamic DbProviderFactory loading in .NET Core