public void SaveAndUpdateWishItemsSetting(AspxCommonInfo aspxCommonObj, WishItemsSettingKeyPairInfo wishlist) { try { WishItemProvider wip = new WishItemProvider(); wip.SaveAndUpdateWishItemsSetting(aspxCommonObj, wishlist); } catch (Exception e) { throw e; } }
public void SaveAndUpdateWishItemsSetting(AspxCommonInfo aspxCommonObj, WishItemsSettingKeyPairInfo wishlist) { try { List <KeyValuePair <string, object> > parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj); parameterCollection.Add(new KeyValuePair <string, object>("@SettingKeys", wishlist.SettingKey)); parameterCollection.Add(new KeyValuePair <string, object>("@SettingValues", wishlist.SettingValue)); SQLHandler sqlhandle = new SQLHandler(); sqlhandle.ExecuteNonQuery("[dbo].[usp_Aspx_WishItemsSettingsUpdate]", parameterCollection); } catch (Exception e) { throw e; } }
public void SaveAndUpdateWishItemsSetting(AspxCommonInfo aspxCommonObj, WishItemsSettingKeyPairInfo wishlist) { try { List<KeyValuePair<string, object>> parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj); parameterCollection.Add(new KeyValuePair<string, object>("@SettingKeys", wishlist.SettingKey)); parameterCollection.Add(new KeyValuePair<string, object>("@SettingValues", wishlist.SettingValue)); SQLHandler sqlhandle = new SQLHandler(); sqlhandle.ExecuteNonQuery("[dbo].[usp_Aspx_WishItemsSettingsUpdate]", parameterCollection); } catch (Exception e) { throw e; } }