//GetTopBidsForMultipleItem
        public List <BidCurrent> GetBidsForMultipleItem(long auction_id, byte iswinner, int quantity, bool fromcache)
        {
            DataCacheObject   dco    = new DataCacheObject(DataCacheType.RESOURCE, DataCacheRegions.BIDS, "GETBIDSFORMULTIPLEITEM", new object[] { auction_id, iswinner }, CachingExpirationTime.Hours_01);
            List <BidCurrent> result = CacheRepository.Get(dco) as List <BidCurrent>;

            if (result != null && fromcache)
            {
                return(result);
            }
            result = (from p in dataContext.spBid_BidsForMultipleItem(auction_id, iswinner, quantity)
                      select new BidCurrent
            {
                Amount = p.Amount,
                Auction_ID = p.Auction_ID,
                Bidder = p.Bidder,
                Comments = p.Comments,
                DateMade = p.DateMade,
                ID = p.ID,
                IP = p.IP,
                IsActive = p.IsActive,
                IsProxy = p.IsProxy,
                ItemNumber = p.ItemNumber,
                MaxBid = p.MaxBid,
                Quantity = p.Quantity,
                User_ID = p.User_ID
            }).ToList();
            if (result.Any())
            {
                dco.Data = result;
                CacheRepository.Add(dco);
            }
            return(result);
        }