private static void AddKleur(int artikelnummer, String hexacode, String kleurnaam, HoneyMoonShopContext context) { context.AddRange( new Kleur { Artikelnummer = artikelnummer, Hexacode = hexacode, KleurNaam = kleurnaam } ); }
private static void AddAccessoires(HoneyMoonShopContext context) { context.AddRange( new Accessoire { AccessoireCode = 12857, Categorie = "Schoenen", Geslacht = "Vrouw", LinkNaarWebshop = "http://www.honeymoonwebshop.nl/shop/Brooke-II-p-17310.html", Merk = "Elsa Coloured Shoes" }, new Accessoire { AccessoireCode = 12419, Categorie = "Lingerie", Geslacht = "Vrouw", LinkNaarWebshop = "http://www.honeymoonwebshop.nl/shop/30304-BH-p-16668.html", Merk = "Di Lorenzo" }, new Accessoire { AccessoireCode = 10809, Categorie = "Tasjes", Geslacht = "Vrouw", LinkNaarWebshop = "http://www.honeymoonwebshop.nl/shop/Tilly-p-16618.html", Merk = "Elsa Coloured Shoes" } ); }
private static void AddAfbeelding(Jurk jurk, Pak pak, String sourcepath, HoneyMoonShopContext context) { context.AddRange( new Afbeelding { Jurk = jurk, Pak = null, SourcePath = "/" + sourcepath + "a" }, new Afbeelding { Jurk = jurk, Pak = null, SourcePath = "/" + sourcepath + "b" }, new Afbeelding { Jurk = jurk, Pak = null, SourcePath = "/" + sourcepath + "c" } ); }