public static bool UpdateSkuMemberPrices(string productIds, int gradeId, decimal price) { return(ProductProvider.Instance().UpdateSkuMemberPrices(productIds, gradeId, price)); }
public static CategoryInfo GetCategory(int categoryId) { return(ProductProvider.Instance().GetCategory(categoryId)); }
public static DataTable GetTags() { return(ProductProvider.Instance().GetTags()); }
public static IList <AttributeInfo> GetAttributes(AttributeUseageMode attributeUseageMode) { return(ProductProvider.Instance().GetAttributes(attributeUseageMode)); }
public static DataTable GetBrandCategories(string brandName) { return(ProductProvider.Instance().GetBrandCategories(brandName)); }
public static int AddAttributeValue(AttributeValueInfo attributeValue) { return(ProductProvider.Instance().AddAttributeValue(attributeValue)); }
public static bool DeleteAttributeValue(int attributeValueId) { return(ProductProvider.Instance().DeleteAttributeValue(attributeValueId)); }
public static AttributeValueInfo GetAttributeValueInfo(int valueId) { return(ProductProvider.Instance().GetAttributeValueInfo(valueId)); }
public static DataTable GetBrandCategoriesByTypeId(int typeId) { return(ProductProvider.Instance().GetBrandCategoriesByTypeId(typeId)); }
public static bool UpdateToaobProduct(TaobaoProductInfo taobaoProduct) { return(ProductProvider.Instance().UpdateToaobProduct(taobaoProduct)); }
public static bool AddSubjectProducts(SubjectType subjectType, IList <int> productIds) { return(ProductProvider.Instance().AddSubjectProducts(subjectType, productIds)); }
public static bool UpdateSkuStock(string productIds, int stock) { return(ProductProvider.Instance().UpdateSkuStock(productIds, stock)); }
public static bool UpdateSkuStock(Dictionary <string, int> skuStocks) { return(ProductProvider.Instance().UpdateSkuStock(skuStocks)); }
public static bool UpdateSkuMemberPrices(string productIds, int gradeId, string basePriceName, string operation, decimal price) { return(ProductProvider.Instance().UpdateSkuMemberPrices(productIds, gradeId, basePriceName, operation, price)); }
public static bool UpdateSpecification(AttributeInfo attribute) { return(ProductProvider.Instance().UpdateSpecification(attribute)); }
public static ProductTypeInfo GetProductType(int typeId) { return(ProductProvider.Instance().GetProductType(typeId)); }
public static bool AddAttributeName(AttributeInfo attribute) { return(ProductProvider.Instance().AddAttributeName(attribute) > 0); }
public static IList <ProductTypeInfo> GetProductTypes() { return(ProductProvider.Instance().GetProductTypes()); }
public static bool ClearAttributeValue(int attributeId) { return(ProductProvider.Instance().ClearAttributeValue(attributeId)); }
public static DbQueryResult GetProductTypes(ProductTypeQuery query) { return(ProductProvider.Instance().GetProductTypes(query)); }
public static AttributeInfo GetAttribute(int attributeId) { return(ProductProvider.Instance().GetAttribute(attributeId)); }
public static void SwapAttributeValueSequence(int attributeValueId, int replaceAttributeValueId, int displaySequence, int replaceDisplaySequence) { ProductProvider.Instance().SwapAttributeValueSequence(attributeValueId, replaceAttributeValueId, displaySequence, replaceDisplaySequence); }
public static IList <AttributeInfo> GetAttributes(int typeId) { return(ProductProvider.Instance().GetAttributes(typeId)); }
public static bool UpdateAttributeName(AttributeInfo attribute) { return(ProductProvider.Instance().UpdateAttributeName(attribute)); }
public static BrandCategoryInfo GetBrandCategory(int brandId) { return(ProductProvider.Instance().GetBrandCategory(brandId)); }
public static bool UpdateAttributeValue(int attributeId, int valueId, string newValue) { return(ProductProvider.Instance().UpdateAttributeValue(attributeId, valueId, newValue)); }
public static string GetTagName(int tagId) { return(ProductProvider.Instance().GetTagName(tagId)); }
public static bool UpdateSku(AttributeValueInfo attributeValue) { return(ProductProvider.Instance().UpdateSku(attributeValue)); }
public static bool SetProductExtendCategory(int productId, string extendCategoryPath) { return(ProductProvider.Instance().SetProductExtendCategory(productId, extendCategoryPath)); }
public static bool UpdateSkuMemberPrices(DataSet ds) { return(ProductProvider.Instance().UpdateSkuMemberPrices(ds)); }