}//LoadUsers internal static void LoadProducts() { SupplierEntity lego = new SupplierEntity { CompanyName = "Lego Corp", Address = RandomAddress(4), Phone = RandomPhone(4), Fax = RandomPhone(4), ContactName = "Billund", }.Save(); var construction = new CategoryEntity { CategoryName = "Construction games", Description = "Let your imagination create your toys" }.Save(); new ProductEntity { ProductName = "Lego Mindstorms EV3", Category = construction.ToLite(), Supplier = lego.ToLite(), QuantityPerUnit = "1 Box", UnitPrice = 159.90m, ReorderLevel = 1, UnitsInStock = 10 }.Save(); SupplierEntity sega = new SupplierEntity { CompanyName = "Sega Inc", Phone = RandomPhone(10), Fax = RandomPhone(10), Address = RandomAddress(10), ContactName = "Kalinske", }.Save(); var videoGames = new CategoryEntity { CategoryName = "Video games", Description = "Enjoy virtual worlds and fabulous adventures" }.Save(); new ProductEntity { ProductName = "Sonic the Hedgehog", Category = videoGames.ToLite(), Supplier = sega.ToLite(), QuantityPerUnit = "1 Case", UnitPrice = 49.90m, ReorderLevel = 2, UnitsInStock = 30 }.Save(); }