Exemplo n.º 1
0
            public async Task TearDown()
            {
                await using var context = new ReadOnlySagaDbContextFactory().CreateDbContext(DbContextOptionsBuilder);

                await context.Database.EnsureDeletedAsync();
            }
Exemplo n.º 2
0
            public async Task Arrange()
            {
                await using var context = new ReadOnlySagaDbContextFactory().CreateDbContext(DbContextOptionsBuilder);

                await context.Database.MigrateAsync();
            }