public static void ReturnShippingAddressSaveUpdate(AddressBasicInfo addressObj, AspxCommonInfo aspxCommonObj) { try { List <KeyValuePair <string, object> > parameterCollection = CommonParmBuilder.GetFParamNoU(aspxCommonObj); parameterCollection.Add(new KeyValuePair <string, object>("OrderID", addressObj.OrderID)); parameterCollection.Add(new KeyValuePair <string, object>("ItemID", addressObj.ItemID)); parameterCollection.Add(new KeyValuePair <string, object>("CostVariantValueIDs", addressObj.CostVariantIDs)); parameterCollection.Add(new KeyValuePair <string, object>("AddressID", addressObj.AddressID)); parameterCollection.Add(new KeyValuePair <string, object>("FirstName", addressObj.FirstName)); parameterCollection.Add(new KeyValuePair <string, object>("LastName", addressObj.LastName)); parameterCollection.Add(new KeyValuePair <string, object>("Company", addressObj.Company)); parameterCollection.Add(new KeyValuePair <string, object>("Address1", addressObj.Address1)); parameterCollection.Add(new KeyValuePair <string, object>("Address2", addressObj.Address2)); parameterCollection.Add(new KeyValuePair <string, object>("City", addressObj.City)); parameterCollection.Add(new KeyValuePair <string, object>("State", addressObj.State)); parameterCollection.Add(new KeyValuePair <string, object>("Country", addressObj.Country)); parameterCollection.Add(new KeyValuePair <string, object>("Zip", addressObj.Zip)); parameterCollection.Add(new KeyValuePair <string, object>("Email", addressObj.Email)); parameterCollection.Add(new KeyValuePair <string, object>("Phone", addressObj.Phone)); parameterCollection.Add(new KeyValuePair <string, object>("Mobile", addressObj.Mobile)); parameterCollection.Add(new KeyValuePair <string, object>("AddedBy", aspxCommonObj.UserName)); OracleHandler sqlH = new OracleHandler(); sqlH.ExecuteNonQuery("usp_Aspx_ReturnShippingAddressSaveUpdate", parameterCollection); } catch (Exception e) { throw e; } }
public static void ReturnShippingAddressSaveUpdate(AddressBasicInfo addressObj, AspxCommonInfo aspxCommonObj) { try { AspxUserDashProvider.ReturnShippingAddressSaveUpdate(addressObj, aspxCommonObj); } catch (Exception e) { throw e; } }
public void ReturnShippingAddressSaveUpdate(AddressBasicInfo addressObj, AspxCommonInfo aspxCommonObj) { try { AspxUserDashController.ReturnShippingAddressSaveUpdate(addressObj, aspxCommonObj); } catch (Exception ex) { throw ex; } }
public static void ReturnShippingAddressSaveUpdate(AddressBasicInfo addressObj, AspxCommonInfo aspxCommonObj) { try { List<KeyValuePair<string, object>> parameterCollection = CommonParmBuilder.GetFParamNoU(aspxCommonObj); parameterCollection.Add(new KeyValuePair<string, object>("@OrderID", addressObj.OrderID)); parameterCollection.Add(new KeyValuePair<string, object>("@ItemID", addressObj.ItemID)); parameterCollection.Add(new KeyValuePair<string, object>("@CostVariantValueIDs", addressObj.CostVariantIDs)); parameterCollection.Add(new KeyValuePair<string, object>("@AddressID", addressObj.AddressID)); parameterCollection.Add(new KeyValuePair<string, object>("@FirstName", addressObj.FirstName)); parameterCollection.Add(new KeyValuePair<string, object>("@LastName", addressObj.LastName)); parameterCollection.Add(new KeyValuePair<string, object>("@Company", addressObj.Company)); parameterCollection.Add(new KeyValuePair<string, object>("@Address1", addressObj.Address1)); parameterCollection.Add(new KeyValuePair<string, object>("@Address2", addressObj.Address2)); parameterCollection.Add(new KeyValuePair<string, object>("@City", addressObj.City)); parameterCollection.Add(new KeyValuePair<string, object>("@State", addressObj.State)); parameterCollection.Add(new KeyValuePair<string, object>("@Country", addressObj.Country)); parameterCollection.Add(new KeyValuePair<string, object>("@Zip", addressObj.Zip)); parameterCollection.Add(new KeyValuePair<string, object>("@Email", addressObj.Email)); parameterCollection.Add(new KeyValuePair<string, object>("@Phone", addressObj.Phone)); parameterCollection.Add(new KeyValuePair<string, object>("@Mobile", addressObj.Mobile)); parameterCollection.Add(new KeyValuePair<string, object>("@AddedBy", aspxCommonObj.UserName)); SQLHandler sqlH = new SQLHandler(); sqlH.ExecuteNonQuery("usp_Aspx_ReturnShippingAddressSaveUpdate", parameterCollection); } catch (Exception e) { throw e; } }