public override async Task EnsureReadDatabaseAsync() { using (var dbContext = new EmptyDbContext("integrationtest")) { dbContext.Database.CreateIfNotExists(); dbContext.Database.Connection.Close(); } }
public override async Task EnsureWriteDatabaseAsync() { using (var dbContext = new EmptyDbContext("integrationtest")) { dbContext.Database.CreateIfNotExists(); dbContext.Database.Connection.Close(); } //GetStorageResetter().Reset(new[] { typeof(RawStreamEntry) }); }