// --------------------------Get DownLoadable Items----------------------------------------------------

        public List<DownLoadableItemGetInfo> GetDownLoadableItemsList(int offset, int? limit, GetDownloadableItemInfo downloadableObj, AspxCommonInfo aspxCommonObj)
        {
            try
            {
                List<DownLoadableItemGetInfo> lstDownItem = AspxItemMgntController.GetDownLoadableItemsList(offset, limit, downloadableObj, aspxCommonObj);
                return lstDownItem;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
示例#2
0
        //----------------------------------------------------------------------------------------------
        //-----------------------------------Get DownLoadable Items----------------------------------------
        public List <DownLoadableItemGetInfo> GetDownLoadableItemsList(int offset, System.Nullable <int> limit, GetDownloadableItemInfo downloadableObj, AspxCommonInfo aspxCommonObj)
        {
            List <DownLoadableItemGetInfo> ml;
            SQLHandler sqlH = new SQLHandler();
            List <KeyValuePair <string, object> > parameterCollection = new List <KeyValuePair <string, object> >();

            parameterCollection.Add(new KeyValuePair <string, object>("@offset", offset));
            parameterCollection.Add(new KeyValuePair <string, object>("@limit", limit));
            parameterCollection.Add(new KeyValuePair <string, object>("@SKU", downloadableObj.SKU));
            parameterCollection.Add(new KeyValuePair <string, object>("@ItemName", downloadableObj.ItemName));
            parameterCollection.Add(new KeyValuePair <string, object>("@StoreID", aspxCommonObj.StoreID));
            parameterCollection.Add(new KeyValuePair <string, object>("@PortalID", aspxCommonObj.PortalID));
            parameterCollection.Add(new KeyValuePair <string, object>("@UserName", aspxCommonObj.UserName));
            parameterCollection.Add(new KeyValuePair <string, object>("@CultureName", aspxCommonObj.CultureName));
            parameterCollection.Add(new KeyValuePair <string, object>("@CheckUser", downloadableObj.CheckUser));

            ml = sqlH.ExecuteAsList <DownLoadableItemGetInfo>("dbo.usp_Aspx_GetDownloadableItemsForReport", parameterCollection);
            return(ml);
        }
 //----------------------------------------------------------------------------------------------
 //-----------------------------------Get DownLoadable Items----------------------------------------
 public static List<DownLoadableItemGetInfo> GetDownLoadableItemsList(int offset, System.Nullable<int> limit, GetDownloadableItemInfo downloadableObj, AspxCommonInfo aspxCommonObj)
 {
     List<DownLoadableItemGetInfo> ml;
     ml = AspxItemMgntProvider.GetDownLoadableItemsList(offset, limit, downloadableObj, aspxCommonObj);
     return ml;
 }
        //----------------------------------------------------------------------------------------------
        //-----------------------------------Get DownLoadable Items----------------------------------------
        public List<DownLoadableItemGetInfo> GetDownLoadableItemsList(int offset, System.Nullable<int> limit, GetDownloadableItemInfo downloadableObj, AspxCommonInfo aspxCommonObj)
        {
            List<DownLoadableItemGetInfo> ml;
            SQLHandler sqlH = new SQLHandler();
            List<KeyValuePair<string, object>> parameterCollection = new List<KeyValuePair<string, object>>();
            parameterCollection.Add(new KeyValuePair<string, object>("@offset", offset));
            parameterCollection.Add(new KeyValuePair<string, object>("@limit", limit));
            parameterCollection.Add(new KeyValuePair<string, object>("@SKU", downloadableObj.SKU));
            parameterCollection.Add(new KeyValuePair<string, object>("@ItemName", downloadableObj.ItemName));
            parameterCollection.Add(new KeyValuePair<string, object>("@StoreID", aspxCommonObj.StoreID));
            parameterCollection.Add(new KeyValuePair<string, object>("@PortalID", aspxCommonObj.PortalID));
            parameterCollection.Add(new KeyValuePair<string, object>("@UserName", aspxCommonObj.UserName));
            parameterCollection.Add(new KeyValuePair<string, object>("@CultureName", aspxCommonObj.CultureName));
            parameterCollection.Add(new KeyValuePair<string, object>("@CheckUser", downloadableObj.CheckUser));

            ml = sqlH.ExecuteAsList<DownLoadableItemGetInfo>("dbo.usp_Aspx_GetDownloadableItemsForReport", parameterCollection);
            return ml;
        }
        //----------------------------------------------------------------------------------------------
        //-----------------------------------Get DownLoadable Items----------------------------------------
        public static List <DownLoadableItemGetInfo> GetDownLoadableItemsList(int offset, System.Nullable <int> limit, GetDownloadableItemInfo downloadableObj, AspxCommonInfo aspxCommonObj)
        {
            List <DownLoadableItemGetInfo> ml;

            ml = AspxItemMgntProvider.GetDownLoadableItemsList(offset, limit, downloadableObj, aspxCommonObj);
            return(ml);
        }