Exemplo n.º 1
0
 public void UpdateMarket(int MarketId)
 {
     MarketUpdates mu = new MarketUpdates();
     mu.UpdateMarketHistorical(DateTime.Now.AddYears(-1), DateTime.Now, MarketId);
 }
Exemplo n.º 2
0
        public void UpdateMarkets()
        {
            MarketUpdates mu = new MarketUpdates();

            using (MarketsDBEntities mde = new MarketsDBEntities())
            {
                foreach (var m in mde.Markets) {
                    Console.WriteLine("Updating data for " + m.Name);
                mu.UpdateMarketHistorical(DateTime.Now.AddYears(-5), DateTime.Now, m.MarketId);
                }
            }
        }
Exemplo n.º 3
0
        public void GapFinders()
        {
            MarketUpdates mu = new MarketUpdates();

            using (MarketsDBEntities mde = new MarketsDBEntities())
            {
                foreach (var m in mde.Markets)
                {
                    GapFinder(m.MarketId);
                }
            }
        }