public void ConsoleInterfaceTest() { DbInterpretter.isRunning = false; string[] init = { "use testDB", "restore", "select * from table1", "bye", }; DB_ConsoleInterface.Run(init); }
public static void Main(string[] args) { DbInterpretter.isRunning = true; string[] init = { "use testDB", "restore", "select * from table1", "bye", }; DB_ConsoleInterface.Run(init); //DB_WindowInterface.Run(init); }