示例#1
0
 public static void Delete(int id)
 {
     dal.Delete(id);
     ProductTypeAttributeBLL.DeleteList(id);
     ProductTypeStandardBLL.DeleteList(id);
     CacheHelper.Remove(cacheKey);
 }
示例#2
0
 public static void DeleteList(string ids)
 {
     string[] idArr = ids.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
     foreach (string id in idArr)
     {
         dal.Delete(Convert.ToInt32(id));
         ProductTypeAttributeBLL.DeleteList(Convert.ToInt32(id));
         ProductTypeStandardBLL.DeleteList(Convert.ToInt32(id));
     }
     CacheHelper.Remove(cacheKey);
 }