Esempio n. 1
0
        public static int Run()
        {
            Console.WriteLine("Migrating the DB");
            var serviceProvider = MigrationUtils.CreateServices();

            using (var scope = serviceProvider.CreateScope())
            {
                UpdateDatabase(scope.ServiceProvider);
            }
            return(0);
        }