public MsSqlStreamStoreDb(string schema, bool deleteDatabaseOnDispose = true) { _schema = schema; _deleteDatabaseOnDispose = deleteDatabaseOnDispose; _databaseName = $"sss-v2-{Guid.NewGuid():n}"; _databaseInstance = new DockerSqlServerDatabase(_databaseName); ConnectionString = CreateConnectionString(); }
public MsSqlStreamStoreV3Fixture(string schema, bool disableDeletionTracking = false, string databaseNameOverride = null) { _schema = schema; _disableDeletionTracking = disableDeletionTracking; _databaseNameOverride = databaseNameOverride; _databaseName = databaseNameOverride ?? $"StreamStoreTests-{Guid.NewGuid():n}"; _databaseInstance = new DockerSqlServerDatabase(_databaseName); ConnectionString = CreateConnectionString(); }