Limit the size of database using SQLite.NET

Connection string

This SQLite.NET connection string can be used for connections to SQLite.

Data Source=c:\mydb.db;Version=3;Max Page Count=5000;

The Max Page Count is measured in pages. This parameter limits the maximum number of pages of the database.