public void ApplyUpdate(IMigrationsService migrationsService) { var script = File.ReadAllText(UpdateFile.FullName); System.Console.WriteLine("Applying update {0}", Version); migrationsService.ApplyScript(script, UpdateFile.Name, Version); }
public CommandDispatcher(IMigrationsService database) { MigrationsService = database; }