public void SaveAndUpdateSpecialItemsSetting(AspxCommonInfo aspxCommonObj, SpecialItemsSettingKeyPairInfo specialObj)
 {
     List<KeyValuePair<string, object>> parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj);
     parameterCollection.Add(new KeyValuePair<string, object>("@SettingKeys", specialObj.SettingKey));
     parameterCollection.Add(new KeyValuePair<string, object>("@SettingValues", specialObj.SettingValue));           
     SQLHandler sqlhandle = new SQLHandler();
     sqlhandle.ExecuteNonQuery("[dbo].[usp_Aspx_SpecialItemsSettingsUpdate]", parameterCollection);
 }
示例#2
0
        public void SaveAndUpdateSpecialItemsSetting(AspxCommonInfo aspxCommonObj, SpecialItemsSettingKeyPairInfo specialObj)
        {
            List <KeyValuePair <string, object> > parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj);

            parameterCollection.Add(new KeyValuePair <string, object>("@SettingKeys", specialObj.SettingKey));
            parameterCollection.Add(new KeyValuePair <string, object>("@SettingValues", specialObj.SettingValue));
            SQLHandler sqlhandle = new SQLHandler();

            sqlhandle.ExecuteNonQuery("[dbo].[usp_Aspx_SpecialItemsSettingsUpdate]", parameterCollection);
        }
        public void SaveAndUpdateSpecialSetting(AspxCommonInfo aspxCommonObj, SpecialItemsSettingKeyPairInfo specialObj)
        {
            SpecialItemsProvider sip = new SpecialItemsProvider();

            sip.SaveAndUpdateSpecialItemsSetting(aspxCommonObj, specialObj);
        }