6 references to TestDbContext
Aspire.Hosting.SqlServer.Tests (6)
SqlServerFunctionalTests.cs (4)
81hb.AddSqlServerDbContext<TestDbContext>(tempDb.Resource.Name); 105var dbContext = host.Services.GetRequiredService<TestDbContext>(); 108dbContext.Cars.Add(new TestDbContext.Car { Brand = "BatMobile" });
TestDbContext.cs (2)
10public TestDbContext(DbContextOptions<TestDbContext> options) : base(options) 15public DbContextOptions<TestDbContext> Options { get; }