Name

DbEnumerator

Synopsis

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.