BusinessLogic.Migrations.RecalculateChampionsYetAgain.Up C# (CSharp) Метод

Up() публичный Метод

public Up ( ) : void
Результат void
        public override void Up()
        {
            //since the model has changed, since this migration was originally written, this is no longer valid.

            //using (NemeStatsDbContext dbContext = new NemeStatsDbContext())
            //{
            //    SecuredEntityValidatorFactory factory = new SecuredEntityValidatorFactory();

            //    using (NemeStatsDataContext dataContext = new NemeStatsDataContext(dbContext, factory))
            //    {
            //        IChampionRepository championRepository = new ChampionRepository(dataContext);

            //        IChampionRecalculator championRecalculator = new ChampionRecalculator(dataContext, championRepository);
            //        championRecalculator.RecalculateAllChampions();
            //    }
            //}
        }
        
RecalculateChampionsYetAgain