예제 #1
0
 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);
 }
예제 #2
0
 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);
 }
예제 #3
0
 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);
 }
예제 #4
0
 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);
 }