1 implementation of ITestDbContext
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (1)
tests\Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests\TestDbContext.cs (1)
13public class TestDbContext : DbContext, ITestDbContext
6 references to ITestDbContext
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (6)
AspireEFMySqlExtensionsTests.cs (2)
262builder.Services.AddDbContextPool<ITestDbContext, TestDbContext>(options => options.UseMySql(ConnectionString, s_serverVersion)); 285builder.Services.AddDbContextPool<ITestDbContext, TestDbContext>(options => options.UseMySql(ConnectionString, s_serverVersion));
EnrichMySqlTests.cs (4)
244builder.Services.AddDbContextPool<ITestDbContext, TestDbContext>(optionsBuilder => 252var context = host.Services.GetRequiredService<ITestDbContext>() as TestDbContext; 261builder.Services.AddDbContext<ITestDbContext, TestDbContext>(optionsBuilder => 273var context = host.Services.GetRequiredService<ITestDbContext>() as TestDbContext;