public bool MoveNext() { if (m_readSoFar >= m_countToRead) { return(false); } if (!m_readerBuffer.Read(m_reader)) { throw new Exception(string.Format( "Failed to advance. Current count: {0}, expected count: {1}", m_readSoFar, m_countToRead)); } ReadFromClientRowData(); ReadPrimaryKey(); m_readSoFar++; return(m_readSoFar <= m_countToRead); }