C
Join ServerC#
help
❔ Tell DbProviderFactory what connection string to use not working?
Ppeace2/25/2023
DbProviderFactories.RegisterFactory("System.Data.MySql", MySqlConnectorFactory.Instance);
serviceCollection.AddSingleton(DbProviderFactories.GetFactory("System.Data.MySql"));
serviceCollection.AddTransient<MySqlConnection>(provider => new MySqlConnection(config.GetConnectionString("Default")));
AAccord2/26/2023
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.