Example #1
0
 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());
 }
Example #4
0
 public static IList <AttributeInfo> GetAttributes(AttributeUseageMode attributeUseageMode)
 {
     return(ProductProvider.Instance().GetAttributes(attributeUseageMode));
 }
 public static DataTable GetBrandCategories(string brandName)
 {
     return(ProductProvider.Instance().GetBrandCategories(brandName));
 }
Example #6
0
 public static int AddAttributeValue(AttributeValueInfo attributeValue)
 {
     return(ProductProvider.Instance().AddAttributeValue(attributeValue));
 }
Example #7
0
 public static bool DeleteAttributeValue(int attributeValueId)
 {
     return(ProductProvider.Instance().DeleteAttributeValue(attributeValueId));
 }
Example #8
0
 public static AttributeValueInfo GetAttributeValueInfo(int valueId)
 {
     return(ProductProvider.Instance().GetAttributeValueInfo(valueId));
 }
Example #9
0
 public static DataTable GetBrandCategoriesByTypeId(int typeId)
 {
     return(ProductProvider.Instance().GetBrandCategoriesByTypeId(typeId));
 }
Example #10
0
 public static bool UpdateToaobProduct(TaobaoProductInfo taobaoProduct)
 {
     return(ProductProvider.Instance().UpdateToaobProduct(taobaoProduct));
 }
Example #11
0
 public static bool AddSubjectProducts(SubjectType subjectType, IList <int> productIds)
 {
     return(ProductProvider.Instance().AddSubjectProducts(subjectType, productIds));
 }
Example #12
0
 public static bool UpdateSkuStock(string productIds, int stock)
 {
     return(ProductProvider.Instance().UpdateSkuStock(productIds, stock));
 }
Example #13
0
 public static bool UpdateSkuStock(Dictionary <string, int> skuStocks)
 {
     return(ProductProvider.Instance().UpdateSkuStock(skuStocks));
 }
Example #14
0
 public static bool UpdateSkuMemberPrices(string productIds, int gradeId, string basePriceName, string operation, decimal price)
 {
     return(ProductProvider.Instance().UpdateSkuMemberPrices(productIds, gradeId, basePriceName, operation, price));
 }
Example #15
0
 public static bool UpdateSpecification(AttributeInfo attribute)
 {
     return(ProductProvider.Instance().UpdateSpecification(attribute));
 }
Example #16
0
 public static ProductTypeInfo GetProductType(int typeId)
 {
     return(ProductProvider.Instance().GetProductType(typeId));
 }
Example #17
0
 public static bool AddAttributeName(AttributeInfo attribute)
 {
     return(ProductProvider.Instance().AddAttributeName(attribute) > 0);
 }
Example #18
0
 public static IList <ProductTypeInfo> GetProductTypes()
 {
     return(ProductProvider.Instance().GetProductTypes());
 }
Example #19
0
 public static bool ClearAttributeValue(int attributeId)
 {
     return(ProductProvider.Instance().ClearAttributeValue(attributeId));
 }
Example #20
0
 public static DbQueryResult GetProductTypes(ProductTypeQuery query)
 {
     return(ProductProvider.Instance().GetProductTypes(query));
 }
Example #21
0
 public static AttributeInfo GetAttribute(int attributeId)
 {
     return(ProductProvider.Instance().GetAttribute(attributeId));
 }
Example #22
0
 public static void SwapAttributeValueSequence(int attributeValueId, int replaceAttributeValueId, int displaySequence, int replaceDisplaySequence)
 {
     ProductProvider.Instance().SwapAttributeValueSequence(attributeValueId, replaceAttributeValueId, displaySequence, replaceDisplaySequence);
 }
Example #23
0
 public static IList <AttributeInfo> GetAttributes(int typeId)
 {
     return(ProductProvider.Instance().GetAttributes(typeId));
 }
Example #24
0
 public static bool UpdateAttributeName(AttributeInfo attribute)
 {
     return(ProductProvider.Instance().UpdateAttributeName(attribute));
 }
 public static BrandCategoryInfo GetBrandCategory(int brandId)
 {
     return(ProductProvider.Instance().GetBrandCategory(brandId));
 }
Example #26
0
 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));
 }
Example #28
0
 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));
 }
Example #30
0
 public static bool UpdateSkuMemberPrices(DataSet ds)
 {
     return(ProductProvider.Instance().UpdateSkuMemberPrices(ds));
 }