コード例 #1
0
 public void SaveWishItems(SaveWishListInfo saveWishListInfo, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List<KeyValuePair<string, object>> parameter = CommonParmBuilder.GetParamSPU(aspxCommonObj);
         parameter.Add(new KeyValuePair<string, object>("@ItemID", saveWishListInfo.ItemID));
         parameter.Add(new KeyValuePair<string, object>("@WishItemID", 0));
         parameter.Add(new KeyValuePair<string, object>("@CostVariantValueIDs", saveWishListInfo.CostVariantValueIDs));
         parameter.Add(new KeyValuePair<string, object>("@IP", saveWishListInfo.IP));
         parameter.Add(new KeyValuePair<string, object>("@CountryName", saveWishListInfo.CountryName));
         SQLHandler sqlH = new SQLHandler();
         sqlH.ExecuteNonQuery("usp_Aspx_SaveWishItems", parameter);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
コード例 #2
0
 public void SaveWishItems(SaveWishListInfo saveWishListInfo, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamSPU(aspxCommonObj);
         parameter.Add(new KeyValuePair <string, object>("@ItemID", saveWishListInfo.ItemID));
         parameter.Add(new KeyValuePair <string, object>("@WishItemID", 0));
         parameter.Add(new KeyValuePair <string, object>("@CostVariantValueIDs", saveWishListInfo.CostVariantValueIDs));
         parameter.Add(new KeyValuePair <string, object>("@IP", saveWishListInfo.IP));
         parameter.Add(new KeyValuePair <string, object>("@CountryName", saveWishListInfo.CountryName));
         SQLHandler sqlH = new SQLHandler();
         sqlH.ExecuteNonQuery("usp_Aspx_SaveWishItems", parameter);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
コード例 #3
0
        public void SaveWishItems(SaveWishListInfo saveWishListInfo, AspxCommonInfo aspxCommonObj)
        {
            WishItemProvider provider = new WishItemProvider();

            provider.SaveWishItems(saveWishListInfo, aspxCommonObj);
        }
コード例 #4
0
 public void SaveWishItems(SaveWishListInfo saveWishListInfo, AspxCommonInfo aspxCommonObj)
 {
     WishItemProvider provider = new WishItemProvider();
     provider.SaveWishItems(saveWishListInfo, aspxCommonObj);
 }