GetEnumerator() Method
Syntax:
public IEnumerator GetEnumerator()
Description:
Returns an IEnumerator that can be used to iterate through the rows in the data reader.
Parameters:
None
Return Value:
Type: System.Collections.IEnumerator
An IEnumerator that can be used to iterate through the rows in the data reader.
Exceptions:
| Exception | Condition |
|---|---|
| InvalidOperationException | The RdmDataReader is closed. |
Reference:
For more information, reference MSDN documentation for: System.Data.Common.DbDataReader.GetEnumerator