1 implementation of ITestDbContext
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (1)
tests\Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests\TestDbContext.cs (1)
13
public class TestDbContext : DbContext,
ITestDbContext
6 references to ITestDbContext
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (6)
AspireSqlServerEFCoreSqlClientExtensionsTests.cs (2)
267
builder.Services.AddDbContextPool<
ITestDbContext
, TestDbContext>(options => options.UseSqlServer(ConnectionString));
290
builder.Services.AddDbContextPool<
ITestDbContext
, TestDbContext>(options => options.UseSqlServer(ConnectionString));
EnrichSqlServerTests.cs (4)
230
builder.Services.AddDbContextPool<
ITestDbContext
, TestDbContext>(optionsBuilder =>
238
var context = host.Services.GetRequiredService<
ITestDbContext
>() as TestDbContext;
247
builder.Services.AddDbContext<
ITestDbContext
, TestDbContext>(optionsBuilder =>
259
var context = host.Services.GetRequiredService<
ITestDbContext
>() as TestDbContext;