I have a database creation tool and am creating a database from scratch. This is done the same way as mentioned Here. It creates a temporary DB and I can add data to it.
When I close the database it is deleted, which is the expected behavior, but I do not want it deleted.
I cannot find a Save or Create method in System.Data.SQLite and creating one with System.IO.File.Create(myDBFilename); creates a file that SQLite cannot connect to.
How do I create and persist a database in code from scratch?