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