Exemplo n.º 1
0
 public static Stack <OddsInfo> GetAllOddsInfoByGame(int gameId)
 {
     return(DataHandler.GetOddsInfoByGame(string.Format("SELECT * FROM OddsInfo WHERE game_id='{0}' order by update_time desc;", (object)gameId)));
 }
Exemplo n.º 2
0
 public static Stack <OddsInfo> GetNotExchangeOddsInfoByGame(int gameId)
 {
     return(DataHandler.GetOddsInfoByGame(string.Format("SELECT * FROM OddsInfo WHERE game_id='{0}' AND company_id IN (SELECT company_id FROM CompanyInfo WHERE is_leading != 2) order by update_time desc;", (object)gameId)));
 }
Exemplo n.º 3
0
 public static List <GameInfo> GetGameInfosByDate(DateTime gameTime, bool dataReady)
 {
     return(DataHandler.GetGameInfosByDate(gameTime.ToString("yyyy-MM-dd"), dataReady));
 }