[]
        
(Showing Draft Content)

C1.DataConnector.C1DataReaderBase

C1DataReaderBase Class

Reads a forward-only stream of rows from a data source.

Namespace: C1.DataConnector
Assembly: C1.DataConnector.dll
Syntax
public abstract class C1DataReaderBase : DbDataReader, IDataReader, IDisposable, IDataRecord, IEnumerable, IAsyncDisposable

Constructors

Name Description
C1DataReaderBase()

Methods

Name Description
GetBoolean(int)

Gets the value of the specified column as a Boolean.

GetByte(int)

Gets the value of the specified column as a Byte.

GetBytes(int, long, byte[], int, int)

Writes in the passed buffer a number of bytes read from within a column.

GetChar(int)

Gets the value of the specified column as a single character.

GetChars(int, long, char[], int, int)

Writes in the passed buffer a number of characters read from within a column.

GetDataTypeName(int)

Gets a string representing the data type of the specified column.

GetDateTime(int)

Gets the value of the specified column as a DateTime object.

GetDecimal(int)

Gets the value of the specified column as a Decimal object.

GetDouble(int)

Gets the value of the specified column as a double-precision floating point number.

GetFloat(int)

Gets the value of the specified column as a single-precision floating point number.

GetGuid(int)

Gets the value of the specified column as a globally unique identifier (GUID).

GetInt16(int)

Gets the value of the specified column as a 16-bit signed integer.

GetInt32(int)

Gets the value of the specified column as a 32-bit signed integer.

GetInt64(int)

Gets the value of the specified column as a 64-bit signed integer.

GetString(int)

Gets the value of the specified column as a string.

GetValue(int)

Gets the value of the specified column in its native format.

GetValues(object[])

Populates an array of objects with the column values of the current row.