6 references to MyDb2Context
SqlServerEndToEnd.ApiService (2)
Program.cs (2)
12builder.AddSqlServerDbContext<MyDb2Context>("db2"); 17app.MapGet("/", async (MyDb1Context db1Context, MyDb2Context db2Context) =>
SqlServerEndToEnd.Common (1)
MyDb2Context.cs (1)
8public class MyDb2Context(DbContextOptions<MyDb2Context> options) : DbContext(options)
SqlServerEndToEnd.DbSetup (3)
Program.cs (3)
9builder.AddSqlServerDbContext<MyDb2Context>("db2"); 13using var db2 = scope.ServiceProvider.GetRequiredService<MyDb2Context>();