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