예제 #1
0
 public SpecialItemsSettingInfo GetSpecialItemsSetting(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <KeyValuePair <string, object> > parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj);
         SQLHandler sqlH = new SQLHandler();
         SpecialItemsSettingInfo objHDSetting = new SpecialItemsSettingInfo();
         objHDSetting = sqlH.ExecuteAsObject <SpecialItemsSettingInfo>("[dbo].[usp_Aspx_SpecialItemsSettingsGet]", parameterCollection);
         return(objHDSetting);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public SpecialItemsSettingInfo GetSpecialItemsSetting(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List<KeyValuePair<string, object>> parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj);
         SQLHandler sqlH = new SQLHandler();
         SpecialItemsSettingInfo objHDSetting = new SpecialItemsSettingInfo();
         objHDSetting = sqlH.ExecuteAsObject<SpecialItemsSettingInfo>("[dbo].[usp_Aspx_SpecialItemsSettingsGet]", parameterCollection);
         return objHDSetting;
     }
     catch (Exception e)
     {
         throw e;
     }
 }