public static void CartPriceRuleStoreAdd(CartPriceRuleStore cartPriceRuleStore, SqlTransaction tran, AspxCommonInfo aspxCommonObj)
        {
            List <KeyValuePair <string, object> > parameter = CommonParmBuilder.GetParamPUC(aspxCommonObj);

            parameter.Add(new KeyValuePair <string, object>("@CartPriceRuleID", cartPriceRuleStore.CartPriceRuleID));
            parameter.Add(new KeyValuePair <string, object>("@StoreID", cartPriceRuleStore.StoreID));
            parameter.Add(new KeyValuePair <string, object>("@IsActive", true));
            try
            {
                SQLHandler sqlH = new SQLHandler();
                sqlH.ExecuteNonQuery(tran, CommandType.StoredProcedure, "usp_Aspx_CartPriceRuleStoreAdd", parameter);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
        public void CartPriceRuleStoreAdd(CartPriceRuleStore cartPriceRuleStore, SqlTransaction tran, Int32 portalID, string userName, string culture)
        {
            List <KeyValuePair <string, object> > parameter = new List <KeyValuePair <string, object> >();

            parameter.Add(new KeyValuePair <string, object>("@CartPriceRuleID", cartPriceRuleStore.CartPriceRuleID));
            parameter.Add(new KeyValuePair <string, object>("@StoreID", cartPriceRuleStore.StoreID));
            parameter.Add(new KeyValuePair <string, object>("@IsActive", true));
            parameter.Add(new KeyValuePair <string, object>("@PortalID", portalID));
            parameter.Add(new KeyValuePair <string, object>("@Username", userName));
            parameter.Add(new KeyValuePair <string, object>("@CultureName", culture));

            try
            {
                SQLHandler sqlH = new SQLHandler();
                sqlH.ExecuteNonQuery(tran, CommandType.StoredProcedure, "usp_Aspx_CartPriceRuleStoreAdd", parameter);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
 public void CartPriceRuleStoreAdd(CartPriceRuleStore cartPriceRuleStore,SqlTransaction tran, Int32 portalID, string userName, string culture)
 {
     List<KeyValuePair<string, object>> parameter = new List<KeyValuePair<string, object>>();
     parameter.Add(new KeyValuePair<string, object>("@CartPriceRuleID", cartPriceRuleStore.CartPriceRuleID));
     parameter.Add(new KeyValuePair<string, object>("@StoreID", cartPriceRuleStore.StoreID));
     parameter.Add(new KeyValuePair<string, object>("@IsActive", true));
     parameter.Add(new KeyValuePair<string, object>("@PortalID", portalID));
     parameter.Add(new KeyValuePair<string, object>("@Username", userName));
     parameter.Add(new KeyValuePair<string, object>("@CultureName", culture));
     
     try
     {
         SQLHandler sqlH = new SQLHandler();
         sqlH.ExecuteNonQuery(tran, CommandType.StoredProcedure, "usp_Aspx_CartPriceRuleStoreAdd", parameter);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static void CartPriceRuleStoreAdd(CartPriceRuleStore cartPriceRuleStore,SqlTransaction tran,AspxCommonInfo aspxCommonObj)
 {
     List<KeyValuePair<string, object>> parameter = CommonParmBuilder.GetParamPUC(aspxCommonObj);
     parameter.Add(new KeyValuePair<string, object>("@CartPriceRuleID", cartPriceRuleStore.CartPriceRuleID));
     parameter.Add(new KeyValuePair<string, object>("@StoreID", cartPriceRuleStore.StoreID));
     parameter.Add(new KeyValuePair<string, object>("@IsActive", true));
     try
     {
         SQLHandler sqlH = new SQLHandler();
         sqlH.ExecuteNonQuery(tran, CommandType.StoredProcedure, "usp_Aspx_CartPriceRuleStoreAdd", parameter);
     }
     catch (Exception e)
     {
         throw e;
     }
 }