public SqliteTests() { _tempFolder = new TemporaryFolder(); var configuration = new Configuration { ConnectionFactory = new DbConnectionFactory<SqliteConnection>(@"Data Source=" + _tempFolder.Folder + "yessql.db;Cache=Shared", true), IsolationLevel = IsolationLevel.Serializable, DocumentStorageFactory = new SqlDocumentStorageFactory() }; _store = new Store(configuration); CleanDatabase(); CreateTables(); }
public LightningDBTests() { _tempFolder = new TemporaryFolder(); var configuration = new Configuration { ConnectionFactory = new DbConnectionFactory<SqlConnection>(ConnectionString), IsolationLevel = IsolationLevel.ReadUncommitted, DocumentStorageFactory = new LightningDocumentStorageFactory(_tempFolder.Folder) }; _store = new Store(configuration); CleanDatabase(); CreateTables(); }
public ProviderTests() { _tempFolder = new TemporaryFolder(); }