public DataService(DataServiceOptions options) { this.options = options; var connectionString = $"Data Source={options.Path}"; provider = new DelegateDbProvider(() => new SqliteConnection(connectionString)); }
public void Setup() { mockExecute = new MockRepeatDbConnection(1); var provider = new DelegateDbProvider(() => mockExecute); staticDao = new StaticDao(provider); dynamicDao = DaoGenerator.Create(provider); }