[]
Reads a forward-only stream of rows from a data source specially adapted for C1DataConnector.
public class C1DataReader : C1DataReaderBase, IDataReader, IDisposable, IDataRecord, IEnumerable, IAsyncDisposable
Name | Description |
---|---|
Depth | Gets the depth of nesting for the current row. |
FieldCount | Gets the number of columns in the current row. |
HasRows | Gets a boolean for whether this C1DataReader is empty of rows or not/false. one or more rows. |
IsClosed | Gets a boolean for whether the C1DataReader is closed or not/false. |
this[int] | Gets the value of the specified column as an instance of object. |
this[string] | Gets the value of the specified column as an instance of object. |
RecordsAffected | Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. |
Name | Description |
---|---|
Close() | Closes the C1DataReader object |
Dispose(bool) | Disposes the C1DataReader object |
GetEnumerator() | Returns an IEnumerator that can be used to iterate through the rows in the data reader. |
GetFieldType(int) | Gets the data type of the specified column. |
GetName(int) | Gets the name of the column, given the zero-based column ordinal. |
GetOrdinal(string) | Gets the column ordinal given the name of the column. |
GetSchemaTable() | Schema information is difficult to map into .NET conventions, so a lot of work must be done to gather the necessary information so it can be represented in an ADO.NET manner. |
GetValue(int) | Gets the value of the specified column as an instance of object. |
GetValues(object[]) | Populates an array of objects with the column values of the current row. |
IsDBNull(int) | Gets a boolean for whether the specified column is missing a value or not/false. |
NextResult() | Advances the reader to the next result when reading the results of a batch of statements. |
Read() | Advances the reader to the next record in a result set. |
ReadAsync(CancellationToken) | An asynchronous version of Read() method. |