5 instantiations of CatalogBrand
CatalogDb (5)
CatalogDbInitializer.cs (5)
41new() { Brand = "Azure" }, 42new() { Brand = ".NET" }, 43new() { Brand = "Visual Studio" }, 44new() { Brand = "SQL Server" }, 45new() { Brand = "Other" }
9 references to CatalogBrand
CatalogDb (9)
CatalogDbInitializer.cs (4)
38static List<CatalogBrand> GetPreconfiguredCatalogBrands() 59static List<CatalogItem> GetPreconfiguredItems(DbSet<CatalogBrand> catalogBrands, DbSet<CatalogType> catalogTypes) 61var dotNet = catalogBrands.First(b => b.Brand == ".NET"); 62var other = catalogBrands.First(b => b.Brand == "Other");
Model.cs (5)
27public DbSet<CatalogBrand> CatalogBrands => Set<CatalogBrand>(); 32DefineCatalogBrand(builder.Entity<CatalogBrand>()); 83private static void DefineCatalogBrand(EntityTypeBuilder<CatalogBrand> builder) 134public required CatalogBrand CatalogBrand { get; set; }