コード例 #1
0
        public static QuotesCollection GetQuotes()
        {
            QuotesCollection quotes    = new QuotesCollection();
            DataTable        allQuotes = QuoteDAO.Instance.getAllQuotes();

            foreach (DataRow row in allQuotes.Rows)
            {
                Quote quote = new Quote(row);
                quotes.Add(quote);
            }
            return(quotes);
        }
コード例 #2
0
 private QuotesDataSource()
 {
     this._quotesCollection = null;
 }