Source

TrafficLight / src / Core / Persistence / Framework / SqliteDatabaseConnectionFactory.cs

Full commit
namespace RossCode.TrafficLight.Core.Persistence.Framework
{
    public class SqliteDatabaseConnectionFactory : IDatabaseConnectionFactory 
    {
        private readonly string databasePath;

        public SqliteDatabaseConnectionFactory()
        {
            databasePath = "TrafficLight.sqlite";
        }

        public IDatabaseConnection OpenConnection()
        {
            return new SqliteDatabaseConnection(databasePath);
        }
    }
}