public static List<ShippingMethodInfo> GetShippingMethods(int offset, int limit, ShippingMethodInfoByProvider shippingMethodObj, AspxCommonInfo aspxCommonObj) { try { List<ShippingMethodInfo> shipping = AspxShipMethodMgntProvider.GetShippingMethods(offset, limit, shippingMethodObj, aspxCommonObj); return shipping; } catch (Exception e) { throw e; } }
public List <ShippingMethodInfo> GetShippingMethods(int offset, int limit, ShippingMethodInfoByProvider shippingMethodObj, AspxCommonInfo aspxCommonObj) { List <ShippingMethodInfo> shipping; SQLHandler sqlH = new SQLHandler(); List <KeyValuePair <string, object> > parameterCollection = new List <KeyValuePair <string, object> >(); parameterCollection.Add(new KeyValuePair <string, object>("@offset", offset)); parameterCollection.Add(new KeyValuePair <string, object>("@limit", limit)); parameterCollection.Add(new KeyValuePair <string, object>("@ShippingMethodName", shippingMethodObj.ShippingMethodName)); parameterCollection.Add(new KeyValuePair <string, object>("@DeliveryTime", shippingMethodObj.DeliveryTime)); parameterCollection.Add(new KeyValuePair <string, object>("@WeightLimitFrom", shippingMethodObj.WeightLimitFrom)); parameterCollection.Add(new KeyValuePair <string, object>("@WeightLimitTo", shippingMethodObj.WeightLimitTo)); parameterCollection.Add(new KeyValuePair <string, object>("@IsActive", shippingMethodObj.IsActive)); parameterCollection.Add(new KeyValuePair <string, object>("@StoreID", aspxCommonObj.StoreID)); parameterCollection.Add(new KeyValuePair <string, object>("@PortalID", aspxCommonObj.PortalID)); parameterCollection.Add(new KeyValuePair <string, object>("@CultureName", aspxCommonObj.CultureName)); shipping = sqlH.ExecuteAsList <ShippingMethodInfo>("usp_Aspx_BindShippingMethodInGrid", parameterCollection); return(shipping); }
public static List<ShippingMethodInfo> GetShippingMethods(int offset, int limit, ShippingMethodInfoByProvider shippingMethodObj, AspxCommonInfo aspxCommonObj) { try { SQLHandler sqlH = new SQLHandler(); List<KeyValuePair<string, object>> parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj); parameterCollection.Add(new KeyValuePair<string, object>("@offset", offset)); parameterCollection.Add(new KeyValuePair<string, object>("@limit", limit)); parameterCollection.Add(new KeyValuePair<string, object>("@ShippingMethodName", shippingMethodObj.ShippingMethodName)); parameterCollection.Add(new KeyValuePair<string, object>("@DeliveryTime", shippingMethodObj.DeliveryTime)); parameterCollection.Add(new KeyValuePair<string, object>("@WeightLimitFrom", shippingMethodObj.WeightLimitFrom)); parameterCollection.Add(new KeyValuePair<string, object>("@WeightLimitTo", shippingMethodObj.WeightLimitTo)); parameterCollection.Add(new KeyValuePair<string, object>("@IsActive", shippingMethodObj.IsActive)); List<ShippingMethodInfo> shipping = sqlH.ExecuteAsList<ShippingMethodInfo>("usp_Aspx_BindShippingMethodInGrid", parameterCollection); return shipping; } catch (Exception e) { throw e; } }
public static List <ShippingMethodInfo> GetShippingMethods(int offset, int limit, ShippingMethodInfoByProvider shippingMethodObj, AspxCommonInfo aspxCommonObj) { try { List <ShippingMethodInfo> shipping = AspxShipMethodMgntProvider.GetShippingMethods(offset, limit, shippingMethodObj, aspxCommonObj); return(shipping); } catch (Exception e) { throw e; } }
public static List <ShippingMethodInfo> GetShippingMethods(int offset, int limit, ShippingMethodInfoByProvider shippingMethodObj, AspxCommonInfo aspxCommonObj) { try { OracleHandler sqlH = new OracleHandler(); List <KeyValuePair <string, object> > parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj); parameterCollection.Add(new KeyValuePair <string, object>("offset", offset)); parameterCollection.Add(new KeyValuePair <string, object>("limit", limit)); parameterCollection.Add(new KeyValuePair <string, object>("ShippingMethodName", shippingMethodObj.ShippingMethodName)); parameterCollection.Add(new KeyValuePair <string, object>("DeliveryTime", shippingMethodObj.DeliveryTime)); parameterCollection.Add(new KeyValuePair <string, object>("WeightLimitFrom", shippingMethodObj.WeightLimitFrom)); parameterCollection.Add(new KeyValuePair <string, object>("WeightLimitTo", shippingMethodObj.WeightLimitTo)); parameterCollection.Add(new KeyValuePair <string, object>("IsActive", shippingMethodObj.IsActive)); List <ShippingMethodInfo> shipping = sqlH.ExecuteAsList <ShippingMethodInfo>("usp_Aspx_BindShippingMethodInGrid", parameterCollection); return(shipping); } catch (Exception e) { throw e; } }