You just need the path where file exists physically, here is an example
private readonly SQLiteConnection _connection;
private Database()
{
var databaseFile = GetDatabasePath();
if (!File.Exists(databaseFile))
{
SQLiteConnection.CreateFile(databaseFile);
}
_connection = new SQLiteConnection($"Data Source={databaseFile};Version=3;");
}
we used
Dapper for SQLite db communication.