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

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

                await context.Database.MigrateAsync();
            }