Dictionary<String, BondSpotInfo> GetBondDic() { DBManager dbManager = new DBManager(); MySqlConnection con = null; try { String ip = ConfigManager.Ins().Config.GetValue(ConfigKeyConst.BOND_DB_SERVER_IP); con = dbManager.OpenConnection(ip, "baadf00d", CommonConst.DATABASE_BOND_MARKETDATA); return GetBondDic_Raw(con); } catch (System.Exception ex) { logger.Error(ex.ToString()); Util.KillWithNotice(ex.ToString()); } finally { con.Close(); dbManager.Close(con); } return null; }