示例#1
0
 public void ConsoleInterfaceTest()
 {
     DbInterpretter.isRunning = false;
     string[] init =
     {
         "use testDB",
         "restore",
         "select * from table1",
         "bye",
     };
     DB_ConsoleInterface.Run(init);
 }
示例#2
0
 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);
 }