public LatestItemSettingInfo GetLatestItemSetting(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxLatestItemsController objLatestItems = new AspxLatestItemsController();
         LatestItemSettingInfo objLatestSetting = new LatestItemSettingInfo();
         objLatestSetting = objLatestItems.GetLatestItemSetting(aspxCommonObj);
         return objLatestSetting;
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public LatestItemSettingInfo GetLatestItemSetting(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxLatestItemsProvider objLatestItems   = new AspxLatestItemsProvider();
         LatestItemSettingInfo   objLatestSetting = new LatestItemSettingInfo();
         objLatestSetting = objLatestItems.GetLatestItemSetting(aspxCommonObj);
         return(objLatestSetting);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Пример #3
0
 public LatestItemSettingInfo GetLatestItemSetting(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <KeyValuePair <string, object> > parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj);
         OracleHandler         sqlH             = new OracleHandler();
         LatestItemSettingInfo objLatestSetting = new LatestItemSettingInfo();
         objLatestSetting = sqlH.ExecuteAsObject <LatestItemSettingInfo>("usp_Aspx_LatestItemSettingGet", parameterCollection);
         return(objLatestSetting);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public LatestItemSettingInfo GetLatestItemSetting(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List<KeyValuePair<string, object>> parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj);
         SQLHandler sqlH = new SQLHandler();
         LatestItemSettingInfo objLatestSetting = new LatestItemSettingInfo();
         objLatestSetting = sqlH.ExecuteAsObject<LatestItemSettingInfo>("[dbo].[usp_Aspx_LatestItemSettingGet]", parameterCollection);
         return objLatestSetting;
     }
     catch (Exception e)
     {
         throw e;
     }
 }