[Quantproject-developers] QuantProject/b2_DataAccess/Tables Tickers_tickerGroups.cs,1.1,1.2
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2004-06-27 19:20:39
|
Update of /cvsroot/quantproject/QuantProject/b2_DataAccess/Tables In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21315/b2_DataAccess/Tables Modified Files: Tickers_tickerGroups.cs Log Message: Changed ITickerSelector interface and consequently modified classes that implement it. Method GetTableOfSelectedTickers now has to return a DataTable (not an upper class derived from a DataTable) Index: Tickers_tickerGroups.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b2_DataAccess/Tables/Tickers_tickerGroups.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Tickers_tickerGroups.cs 11 May 2004 21:55:49 -0000 1.1 --- Tickers_tickerGroups.cs 27 Jun 2004 19:20:30 -0000 1.2 *************** *** 81,87 **** } ! ! ! --- 81,94 ---- } ! /// <summary> ! /// It returns a table containing tickers of a given groupID ! /// </summary> ! public static DataTable GetTickers( string groupID) ! { ! /// TO DO use a join in order to return a table with tiTicker and company name ! return SqlExecutor.GetDataTable("SELECT " + Tickers_tickerGroups.Ticker + " FROM tickers_tickerGroups " + ! "WHERE " + Tickers_tickerGroups.GroupID + "='" + ! groupID + "'"); ! } |