//GetBidHistory
        public List <BiddingHistory> GetBidHistory(long auction_id)
        {
            DataCacheObject       dco    = new DataCacheObject(DataCacheType.ACTIVITY, DataCacheRegions.BIDS, "GETBIDHISTORY", new object[] { auction_id }, CachingExpirationTime.Days_01);
            List <BiddingHistory> result = CacheRepository.Get(dco) as List <BiddingHistory>;

            if (result != null && result.Count() > 0)
            {
                return(result);
            }
            dataContext.CommandTimeout = 600000;
            result = (from p in dataContext.spBid_BidsHistory(auction_id)
                      select new BiddingHistory
            {
                Login = p.Bidder,
                Amount = p.Bid.GetValueOrDefault(0),
                DateMade = p.DateMade.GetValueOrDefault(DateTime.MinValue),
                IsWinner = p.IsWinner.GetValueOrDefault(false)
            }).ToList();
            if (result.Count() > 0)
            {
                dco.Data = result;
                CacheRepository.Add(dco);
            }
            return(result);
        }