System.Data.ProviderBase.DataReaderContainer.NextResult C# (CSharp) Метод

NextResult() приватный Метод

private NextResult ( ) : bool
Результат bool
        internal bool NextResult()
        {
            _fieldCount = 0;
            if (_dataReader.NextResult())
            {
                _fieldCount = VisibleFieldCount;
                return true;
            }
            return false;
        }
        internal bool Read()

Usage Example

Пример #1
0
 private bool FillNextResult(DataReaderContainer dataReader) {
     bool result = true;
     if (_hasFillErrorHandler) {
         try {
             // only try-catch if a FillErrorEventHandler is registered so that
             // in the default case we get the full callstack from users
             result = dataReader.NextResult();
         }
         catch(Exception e) {
             // 
             if (!ADP.IsCatchableExceptionType(e)) {
                 throw;
             }
             ADP.TraceExceptionForCapture(e);
             OnFillErrorHandler(e, null, null);
         }
     }
     else {
         result = dataReader.NextResult();
     }
     return result;
 }
All Usage Examples Of System.Data.ProviderBase.DataReaderContainer::NextResult