SQLite.NETDisable create database behaviour

If the database file doesn't exist, the default behaviour is to create a new file. Use the following parameter to raise an error instead of creating a new database file.

Data Source=c:\mydb.db;Version=3;FailIfMissing=True;

Connecting

This connection string (Disable create database behaviour using SQLite.NET) can be used for connections to SQLite.

Articlesread all »

Not the right connection string for you?

Start over in the connection string reference index.

You can also get help in the Q&A forums where you can ask your own question.

The kb articles contains how-tos and instructions and you can search for anything if you're not sure were to look.