title: How to Confg EntityFramework to work with multiple Databases C#
body: <blockquote>
    <p>I'm trying to create a program that depends on Entity Framework but i
    need to create two types of databases Sql and Sqlite with the same DB
    schema in order to change to sql server if the program will work on
    different PCs</p>
  </blockquote>
  
  <p>trying this Sol but DeDefaultConnectionFactory has been Deprecated 
  <a href="https://github.com/narendrasinghrathore/entityMultipleDb" rel="nofollow noreferrer">https://github.com/narendrasinghrathore/entityMultipleDb</a></p>
  
  <p>I don't want to create many DbContext class just one and changing the provider and the connection string.</p>
  
  <p>Anybody have any idea how to do that?</p>