public Category(int id, string name, Category category, List<Product> products) { ID = id; Name = name; ParentCategory = category; Products = products; }
public Product(int id, string name, string brand, string sku, long ean, ProductType productType, Category category) { ID = id; Name = name; Brand = brand; SKU = sku; EAN = ean; ProductType = productType; Category = category; }
public Product(int id, string name, string brand, string sku, long ean, double averageReviewScore, double price, Category category) { ID = id; Name = name; Brand = brand; SKU = sku; EAN = ean; AverageReviewScore = averageReviewScore; Price = price; Category = category; }
public Product(string name, string brand, string sku, long ean, Category category, List<ProductPicture> productPictures, List<ProductSpecification> productSpecifications, List<UserList> userLists, List<ProductReview> reviews, List<ShopPrice> shopPrices) { Name = name; Brand = brand; SKU = sku; EAN = ean; Category = category; ProductPictures = productPictures; ProductSpecifications = productSpecifications; UserLists = userLists; Reviews = reviews; ShopPrices = shopPrices; }
public Category(int id, string name, Category category) { ID = id; Name = name; ParentCategory = category; }
public Product(int id, string name, string brand, string sku, long ean, double averageReviewScore, double price, Category category, List<ProductPicture> productPictures, List<ProductSpecification> productSpecifications, List<UserList> userLists, List<ProductReview> reviews, List<ShopPrice> shopPrices) { ID = id; Name = name; Brand = brand; SKU = sku; EAN = ean; AverageReviewScore = averageReviewScore; Price = price; Category = category; ProductPictures = productPictures; ProductSpecifications = productSpecifications; UserLists = userLists; Reviews = reviews; ShopPrices = shopPrices; }