private bool CheckEndOfFile()
 {
     // if defined EOF indication read till the indication, otherwise read till the end of the file
     return((_eofIndication != null && _eofFieldName != null) ? ReaderAdapter.Reader.Read() && ReaderAdapter.GetField(_eofFieldName).ToString() != _eofIndication :
            ReaderAdapter.Reader.Read());
 }