6 references to CatalogDbContext
CatalogModel (3)
Model.cs (3)
11public class CatalogDbContext(DbContextOptions<CatalogDbContext> options) : DbContext(options) 15private static readonly Func<CatalogDbContext, int?, int?, int?, int, IAsyncEnumerable<CatalogItem>> s_getCatalogItemsQuery = 16EF.CompileAsyncQuery((CatalogDbContext context, int? catalogBrandId, int? before, int? after, int pageSize) =>
CatalogService (3)
CatalogApi.cs (2)
13group.MapGet("items/type/all/brand/{catalogBrandId?}", async (int? catalogBrandId, CatalogDbContext catalogContext, int? before, int? after, int pageSize = 8) => 31group.MapGet("items/{catalogItemId:int}/image", async (int catalogItemId, CatalogDbContext catalogDbContext, IHostEnvironment environment) =>
Program.cs (1)
7builder.AddNpgsqlDbContext<CatalogDbContext>("catalogdb");