This type supports the .NET framework. It supports simple iteration over a data provider collection. You never need to use it directly in your code.

public class DbEnumerator : IEnumerator {

// Public Constructors

   public DbEnumerator(System.Data.IDataReader reader);  

   public DbEnumerator(System.Data.IDataReader reader, bool closeReader);

// Public Instance Properties

   public object Current{get; }                    // implements IEnumerator

                  // Public Instance Methods

   public bool MoveNext( );                         // implements IEnumerator

   public void Reset( );                           // implements IEnumerator


Get ADO.NET in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.