Example #1
0
        private static void DowngradeRun(DowngradeOptions options)
        {
            var serviceProvider = CreateServices();

            using (var scope = serviceProvider.CreateScope())
            {
                DowngradeDatabase(scope.ServiceProvider, options.Version);
            }
        }
Example #2
0
 public DowngradeCommand(DowngradeOptions options, BoundConfig config)
 {
     _options = options;
     _config  = config;
 }