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

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