[Quantproject-developers] QuantProject/b2_DataAccess/Tables Quotes.cs, 1.34, 1.35
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2008-12-30 00:14:27
|
Update of /cvsroot/quantproject/QuantProject/b2_DataAccess/Tables In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16941/b2_DataAccess/Tables Modified Files: Quotes.cs Log Message: Now bot Access and MySql are supported Index: Quotes.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b2_DataAccess/Tables/Quotes.cs,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** Quotes.cs 14 Aug 2008 23:22:49 -0000 1.34 --- Quotes.cs 30 Dec 2008 00:14:16 -0000 1.35 *************** *** 14,24 **** public class Quotes { ! ! private DataTable quotes; ! // these static fields provide field name in the database table // They are intended to be used through intellisense when necessary public static string TickerFieldName = "quTicker"; // Ticker cannot be simply used because ! // it is already used below public static string Date = "quDate"; [...1805 lines suppressed...] "WHERE tickers_tickerGroups.ttTgId='" + groupID + "' " + --- 1161,1165 ---- { string sql = "SELECT quotes.quTicker, quotes.quDate, quotes.quAdjustedClose, " + ! "tickers_tickerGroups.ttTgId FROM quotes INNER JOIN " + "tickers_tickerGroups ON quotes.quTicker = tickers_tickerGroups.ttTiId " + "WHERE tickers_tickerGroups.ttTgId='" + groupID + "' " + *************** *** 1156,1160 **** return SqlExecutor.GetDataTable( sql ); } ! */ } } --- 1167,1171 ---- return SqlExecutor.GetDataTable( sql ); } ! */ } } |