Beispiel #1
0
        /// <summary>
        /// Advances the SqlDataReader to the next record.
        /// </summary>
        public override bool Read()
        {
            if (_currentRow >= _rowsCount)
            {
                return(false);
            }

            _rowValues = _tableRows.Get(_currentRow++).Values;
            return(true);
        }
Beispiel #2
0
        public void GetRowTest()
        {
            TableRows rows = table.Rows;

            Assert.AreEqual("Imran", rows.Get("Name", "Imran").Cells[0].Value);
        }