Esempio n. 1
0
 public void UpdateMarket(int MarketId)
 {
     MarketUpdates mu = new MarketUpdates();
     mu.UpdateMarketHistorical(DateTime.Now.AddYears(-1), DateTime.Now, MarketId);
 }
Esempio 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);
                }
            }
        }
Esempio n. 3
0
        public void GapFinders()
        {
            MarketUpdates mu = new MarketUpdates();

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