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