public DataService(DataServiceOptions options)
        {
            this.options = options;

            var connectionString = $"Data Source={options.Path}";

            provider = new DelegateDbProvider(() => new SqliteConnection(connectionString));
        }
Exemple #2
0
        public void Setup()
        {
            mockExecute = new MockRepeatDbConnection(1);

            var provider = new DelegateDbProvider(() => mockExecute);

            staticDao  = new StaticDao(provider);
            dynamicDao = DaoGenerator.Create(provider);
        }