Пример #1
0
 public void SetSearchSetting(SearchSettingInfo searchSettingObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxSearchController.SetSearchSetting(searchSettingObj, aspxCommonObj);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
 public static void SetSearchSetting(SearchSettingInfo searchSettingObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxSearchProvider.SetSearchSetting(searchSettingObj, aspxCommonObj);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public static void SetSearchSetting(SearchSettingInfo searchSettingObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxSearchProvider.SetSearchSetting(searchSettingObj,aspxCommonObj);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Пример #4
0
 public static SearchSettingInfo GetSearchSetting(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         SearchSettingInfo objHDSetting = AspxSearchProvider.GetSearchSetting(aspxCommonObj);
         return(objHDSetting);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #5
0
 //Search Setting
 public SearchSettingInfo GetSearchSetting(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         SearchSettingInfo objSearchSetting = AspxSearchController.GetSearchSetting(aspxCommonObj);
         return(objSearchSetting);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public static void SetSearchSetting(SearchSettingInfo searchObj, AspxCommonInfo aspxCommonObj)
        {
            List <KeyValuePair <string, object> > parameterCollection = new List <KeyValuePair <string, object> >();

            parameterCollection.Add(new KeyValuePair <string, object>("StoreID", aspxCommonObj.StoreID));
            parameterCollection.Add(new KeyValuePair <string, object>("PortalID", aspxCommonObj.PortalID));
            parameterCollection.Add(new KeyValuePair <string, object>("CultureName", aspxCommonObj.CultureName));
            parameterCollection.Add(new KeyValuePair <string, object>("ShowCategoryForSearch", searchObj.ShowCategoryForSearch));
            parameterCollection.Add(new KeyValuePair <string, object>("EnableAdvanceSearch", searchObj.EnableAdvanceSearch));
            parameterCollection.Add(new KeyValuePair <string, object>("ShowSearchKeyWord", searchObj.ShowSearchKeyWord));
            OracleHandler sqlhandle = new OracleHandler();

            sqlhandle.ExecuteNonQuery("usp_Aspx_UpdateSearchSettings", parameterCollection);
        }
 public static SearchSettingInfo GetSearchSetting(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         List <KeyValuePair <string, object> > parameterCollection = CommonParmBuilder.GetParamSPC(aspxCommonObj);
         OracleHandler     sqlHandle        = new OracleHandler();
         SearchSettingInfo objSearchSetting = sqlHandle.ExecuteAsObject <SearchSettingInfo>("usp_Aspx_GetSearchSettings", parameterCollection);
         return(objSearchSetting);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public void SetSearchSetting(SearchSettingInfo searchSettingObj, AspxCommonInfo aspxCommonObj)
 {
     try
     {
         AspxSearchController.SetSearchSetting(searchSettingObj, aspxCommonObj);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }