public CollectionWithSQL FindHighBids(string auctionId)
        {
            ClearLog();
            CollectionWithSQL cwsq = GetTransactionalAuctionService().FindHighBids(auctionId);

            cwsq.TheSql = GetLog();
            return(cwsq);
        }
        public CollectionWithSQL FindAllAuctions()
        {
            ClearLog();
            CollectionWithSQL cwsq = GetTransactionalAuctionService().FindAllAuctions();

            cwsq.TheSql = GetLog();
            return(cwsq);
        }
Exemplo n.º 3
0
        public void RunTest()
        {
            PrintTestTitle();
            CollectionWithSQL result = AuctionService.FindAllAuctions();

            PrintAuctions(result.TheCollection);
            PrintSQL(result.TheSql);
            CloseResult();
        }
Exemplo n.º 4
0
        public void RunTest()
        {
            PrintTestTitle();
            string            auctionId = "3";
            CollectionWithSQL result    = AuctionService.FindHighBids(auctionId);

            PrintBids(result.TheCollection);
            PrintSQL(result.TheSql);
            CloseResult();
        }