private static void run_roundhouse_drop_create(string roundhouse_exe, string server_name, string db_name, string path_to_scripts) { CommandRunner.run(roundhouse_exe, string.Format("/s={0} /db={1} /f=. /silent /drop", server_name, db_name), true); CommandRunner.run(roundhouse_exe, string.Format("/s={0} /db={1} /f={2} /silent /simple", server_name, db_name, path_to_scripts), true); }
private static void run_roundhouse_updates(string roundhouse_exe, string server_name, string db_name, string path_to_scripts) { CommandRunner.run(roundhouse_exe, string.Format("/s={0} /db={1} /f={2} /silent", server_name, db_name, path_to_scripts), true); }
private static void create_the_database(string roundhouse_exe, string server_name, string db_name) { CommandRunner.run(roundhouse_exe, string.Format("/s={0} /db={1} /f={2} /silent /simple", server_name, db_name, Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)), true); }
private static void restore_the_database(string roundhouse_exe, string server_name, string db_name, string path_to_restore) { CommandRunner.run(roundhouse_exe, string.Format("/s={0} /db={1} /f=. /silent /restore /restorefrompath=\"{2}\"", server_name, db_name, path_to_restore), true); }