6 references to MyDbContext
WaitForSandbox.ApiService (2)
Program.cs (2)
11
builder.AddNpgsqlDbContext<
MyDbContext
>("db");
16
app.MapGet("/", async (
MyDbContext
dbContext) =>
WaitForSandbox.Common (1)
MyDbContext.cs (1)
8
public class MyDbContext(DbContextOptions<
MyDbContext
> options) : DbContext(options)
WaitForSandbox.DbSetup (3)
Program.cs (3)
7
builder.AddNpgsqlDbContext<
MyDbContext
>("db");
10
using
var
db = scope.ServiceProvider.GetRequiredService<
MyDbContext
>();