C# Class Nop.Services.Catalog.CopyProductService

Copy Product service
Inheritance: ICopyProductService
显示文件 Open project: jimmy00784/nopCommerce-Linux-Mysql

Public Methods

Method Description
CopyProduct ( int productId, string newName, bool isPublished, bool copyImages ) : Product

Creates a copy of product with all depended data

CopyProductService ( IProductService productService, IProductAttributeService productAttributeService, ILanguageService languageService, ILocalizedEntityService localizedEntityService, IPictureService pictureService, ICategoryService categoryService, IManufacturerService manufacturerService, ISpecificationAttributeService specificationAttributeService, IDownloadService downloadService, IProductAttributeParser productAttributeParser, IProductTagService productTagService ) : System

Method Details

CopyProduct() public method

Creates a copy of product with all depended data
public CopyProduct ( int productId, string newName, bool isPublished, bool copyImages ) : Product
productId int The product identifier
newName string The name of product duplicate
isPublished bool A value indicating whether the product duplicate should be published
copyImages bool A value indicating whether the product images should be copied
return Nop.Core.Domain.Catalog.Product

CopyProductService() public method

public CopyProductService ( IProductService productService, IProductAttributeService productAttributeService, ILanguageService languageService, ILocalizedEntityService localizedEntityService, IPictureService pictureService, ICategoryService categoryService, IManufacturerService manufacturerService, ISpecificationAttributeService specificationAttributeService, IDownloadService downloadService, IProductAttributeParser productAttributeParser, IProductTagService productTagService ) : System
productService IProductService
productAttributeService IProductAttributeService
languageService ILanguageService
localizedEntityService ILocalizedEntityService
pictureService IPictureService
categoryService ICategoryService
manufacturerService IManufacturerService
specificationAttributeService ISpecificationAttributeService
downloadService IDownloadService
productAttributeParser IProductAttributeParser
productTagService IProductTagService
return System