DbEnumerator DbEnumerator DbEnumerator DbEnumerator Constructors

Definition

Overloads

DbEnumerator(DbDataReader) DbEnumerator(DbDataReader) DbEnumerator(DbDataReader) DbEnumerator(DbDataReader)

Initializes a new instance of the DbEnumerator class with the give n data reader.

DbEnumerator(IDataReader) DbEnumerator(IDataReader) DbEnumerator(IDataReader) DbEnumerator(IDataReader)

Initializes a new instance of the DbEnumerator class using the specified DataReader.

DbEnumerator(DbDataReader, Boolean) DbEnumerator(DbDataReader, Boolean) DbEnumerator(DbDataReader, Boolean) DbEnumerator(DbDataReader, Boolean)

Initializes a new instance of the DbEnumerator class using the specified reader and indicates whether to automatically close the reader after iterating through its data.

DbEnumerator(IDataReader, Boolean) DbEnumerator(IDataReader, Boolean) DbEnumerator(IDataReader, Boolean) DbEnumerator(IDataReader, Boolean)

Initializes a new instance of the DbEnumerator class using the specified DataReader, and indicates whether to automatically close the DataReader after iterating through its data.

DbEnumerator(DbDataReader) DbEnumerator(DbDataReader) DbEnumerator(DbDataReader) DbEnumerator(DbDataReader)

Initializes a new instance of the DbEnumerator class with the give n data reader.

public:
 DbEnumerator(System::Data::Common::DbDataReader ^ reader);
public DbEnumerator (System.Data.Common.DbDataReader reader);
new System.Data.Common.DbEnumerator : System.Data.Common.DbDataReader -> System.Data.Common.DbEnumerator
Public Sub New (reader As DbDataReader)

Parameters

reader
DbDataReader DbDataReader DbDataReader DbDataReader

The DataReader through which to iterate.

DbEnumerator(IDataReader) DbEnumerator(IDataReader) DbEnumerator(IDataReader) DbEnumerator(IDataReader)

Initializes a new instance of the DbEnumerator class using the specified DataReader.

public:
 DbEnumerator(System::Data::IDataReader ^ reader);
public DbEnumerator (System.Data.IDataReader reader);
new System.Data.Common.DbEnumerator : System.Data.IDataReader -> System.Data.Common.DbEnumerator
Public Sub New (reader As IDataReader)

Parameters

reader
IDataReader IDataReader IDataReader IDataReader

The DataReader through which to iterate.

See also

DbEnumerator(DbDataReader, Boolean) DbEnumerator(DbDataReader, Boolean) DbEnumerator(DbDataReader, Boolean) DbEnumerator(DbDataReader, Boolean)

Initializes a new instance of the DbEnumerator class using the specified reader and indicates whether to automatically close the reader after iterating through its data.

public:
 DbEnumerator(System::Data::Common::DbDataReader ^ reader, bool closeReader);
public DbEnumerator (System.Data.Common.DbDataReader reader, bool closeReader);
new System.Data.Common.DbEnumerator : System.Data.Common.DbDataReader * bool -> System.Data.Common.DbEnumerator
Public Sub New (reader As DbDataReader, closeReader As Boolean)

Parameters

reader
DbDataReader DbDataReader DbDataReader DbDataReader

The DataReader through which to iterate.

closeReader
Boolean Boolean Boolean Boolean

true to automatically close the DataReader after iterating through its data; otherwise, false.

DbEnumerator(IDataReader, Boolean) DbEnumerator(IDataReader, Boolean) DbEnumerator(IDataReader, Boolean) DbEnumerator(IDataReader, Boolean)

Initializes a new instance of the DbEnumerator class using the specified DataReader, and indicates whether to automatically close the DataReader after iterating through its data.

public:
 DbEnumerator(System::Data::IDataReader ^ reader, bool closeReader);
public DbEnumerator (System.Data.IDataReader reader, bool closeReader);
new System.Data.Common.DbEnumerator : System.Data.IDataReader * bool -> System.Data.Common.DbEnumerator
Public Sub New (reader As IDataReader, closeReader As Boolean)

Parameters

reader
IDataReader IDataReader IDataReader IDataReader

The DataReader through which to iterate.

closeReader
Boolean Boolean Boolean Boolean

true to automatically close the DataReader after iterating through its data; otherwise, false.

See also

Applies to