how to to register multiple Entity Framework Core database providers
how to to register multiple Entity Framework Core database providers (Microsoft.EntityFrameworkCore.Sqlite and Pomelo.EntityFrameworkCore.MySql) in the same service provider.
Error: Services for database providers 'Microsoft.EntityFrameworkCore.Sqlite', 'Pomelo.EntityFrameworkCore.MySql' have been registered in the service provider. Only a single database provider can be registered in a service provider. If possible ensure that entity framework is managing its service provider by removing the call to 'UseInternalServiceProvider' . Otherwise consider conditionally registering the database provider or maintaining one service provider per database provider.
Error: Services for database providers 'Microsoft.EntityFrameworkCore.Sqlite', 'Pomelo.EntityFrameworkCore.MySql' have been registered in the service provider. Only a single database provider can be registered in a service provider. If possible ensure that entity framework is managing its service provider by removing the call to 'UseInternalServiceProvider' . Otherwise consider conditionally registering the database provider or maintaining one service provider per database provider.
