예제 #1
0
        private static ICommand GetCommand(string text)
        {
            Parser parser = new Parser(text);

            return parser.ParseCommand();
        }
예제 #2
0
 public override int ExecuteNonQuery()
 {
     Parser parser = new Parser(this.commandText);
     ICommand command = parser.ParseCommand();
     command.Execute(this.connection.GetDatabase());
     // TODO implement result count
     return 1;
 }