I am trying to implement the use of two database in my application, sqlite and mysql.
Currently i added references to both database connection library, and duplicate all first checking which database option the end user selected, and calling the appropriate function.
Though i only implemented a test, i thought this would be tasking as the application does alot of database calls
is there any general data connection class or library in the .net framework so that instead of instantiating
SqliteConnection differently, i just instantiate
Ts there any better way of doing this?