public bool NextResult() #endif { Debug.WriteLineIf(CLI.FnTrace.Enabled, "VirtuosoDataReader.NextResult()"); if (!open) { throw new InvalidOperationException("The VirtuosoDataReader object is closed."); } if (last) { return(false); } bool next = command.GetNextResult(); if (next) { InitializeResultInfo(false); } else { last = true; } return(next); }