private static ICommand GetCommand(string text) { Parser parser = new Parser(text); return parser.ParseCommand(); }
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; }