Struct ReaderEnumerator
Returned by ToEnumerable(NpgsqlDataReader) making
it possible to synchronously enumerate the reader rows via the C# foreach
statement or the equivalent for other .NET languages.
Namespace: Neon.Postgres
Assembly: Neon.Postgres.dll
Syntax
public struct ReaderEnumerator
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<NpgsqlDataReader> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<NpgsqlDataReader> | An enumerator that can be used to iterate through the collection. |