Is there a way to easily replace the connection for a SQLite connection
I have a custom assembly I have written for a (Conan Exiles)[https://conanexiles.com] server database. I am administrating a dedicated server for the game.
It is an SQLite database and my custom assembly works fine, but I often get a new copy of the database for one reason or another, and it is not always the same place I download it to, mostly because I don't remember right then where I put it last time.
Is there an easy way of setting the path to the database without having to open the connection dialog every time:
Comments
Oh, I figured it out. I need to use the parameterless constructor and then add an appsettings.json with the connection string.