示例#1
0
 public Category(int id, string name, Category category, List<Product> products)
 {
     ID = id;
     Name = name;
     ParentCategory = category;
     Products = products;
 }
示例#2
0
 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;
 }
示例#3
0
 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;
 }
示例#4
0
 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;
 }
示例#5
0
 public Category(int id, string name, Category category)
 {
     ID = id;
     Name = name;
     ParentCategory = category;
 }
示例#6
0
 public Category(int id, string name, Category category)
 {
     ID             = id;
     Name           = name;
     ParentCategory = category;
 }
示例#7
0
 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;
 }