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