# C1.DataConnector.C1DataReaderBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataConnector_C1DataReaderBase" data-uid="C1.DataConnector.C1DataReaderBase" class="text-break">C1DataReaderBase Class
</h1>
  <div class="markdown level0 summary"><p>Reads a forward-only stream of rows from a data source.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.common.dbdatareader">DbDataReader</a></div>
    <div class="level3"><span class="xref">C1DataReaderBase</span></div>
      <div class="level4"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a></div>
      <div class="level4"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a></div>
      <div class="level4"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a></div>
      <div class="level4"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a></div>
      <div class="level4"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a></div>
      <div class="level4"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a></div>
      <div class="level4"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a></div>
      <div class="level4"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a></div>
      <div class="level4"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a></div>
      <div class="level4"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataReader.html">C1DataReader</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.idatareader">IDataReader</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.idatarecord">IDataRecord</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iasyncdisposable">IAsyncDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataConnector.html">C1.DataConnector</a></h6>
  <h6><strong>Assembly</strong>: C1.DataConnector.dll</h6>
  <h5 id="C1_DataConnector_C1DataReaderBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class C1DataReaderBase : DbDataReader, IDataReader, IDisposable, IDataRecord, IEnumerable, IAsyncDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class C1DataReaderBase
    Inherits DbDataReader
    Implements IDataReader, IDisposable, IDataRecord, IEnumerable, IAsyncDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase__ctor" data-uid="C1.DataConnector.C1DataReaderBase.#ctor">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.-ctor.html#C1_DataConnector_C1DataReaderBase__ctor">C1DataReaderBase()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetBoolean_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetBoolean(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetBoolean.html#C1_DataConnector_C1DataReaderBase_GetBoolean_System_Int32_">GetBoolean(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a Boolean.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetByte_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetByte(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetByte.html#C1_DataConnector_C1DataReaderBase_GetByte_System_Int32_">GetByte(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a Byte.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetBytes_System_Int32_System_Int64_System_Byte___System_Int32_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetBytes(System.Int32,System.Int64,System.Byte[],System.Int32,System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetBytes.html#C1_DataConnector_C1DataReaderBase_GetBytes_System_Int32_System_Int64_System_Byte___System_Int32_System_Int32_">GetBytes(int, long, byte[], int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes in the passed buffer a number of bytes read from within a column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetChar_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetChar(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetChar.html#C1_DataConnector_C1DataReaderBase_GetChar_System_Int32_">GetChar(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a single character.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetChars_System_Int32_System_Int64_System_Char___System_Int32_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetChars(System.Int32,System.Int64,System.Char[],System.Int32,System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetChars.html#C1_DataConnector_C1DataReaderBase_GetChars_System_Int32_System_Int64_System_Char___System_Int32_System_Int32_">GetChars(int, long, char[], int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes in the passed buffer a number of characters read from within a column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetDataTypeName_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetDataTypeName(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetDataTypeName.html#C1_DataConnector_C1DataReaderBase_GetDataTypeName_System_Int32_">GetDataTypeName(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a string representing the data type of the specified column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetDateTime_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetDateTime(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetDateTime.html#C1_DataConnector_C1DataReaderBase_GetDateTime_System_Int32_">GetDateTime(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a DateTime object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetDecimal_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetDecimal(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetDecimal.html#C1_DataConnector_C1DataReaderBase_GetDecimal_System_Int32_">GetDecimal(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a Decimal object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetDouble_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetDouble(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetDouble.html#C1_DataConnector_C1DataReaderBase_GetDouble_System_Int32_">GetDouble(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a double-precision floating point number.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetFloat_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetFloat(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetFloat.html#C1_DataConnector_C1DataReaderBase_GetFloat_System_Int32_">GetFloat(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a single-precision floating point number.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetGuid_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetGuid(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetGuid.html#C1_DataConnector_C1DataReaderBase_GetGuid_System_Int32_">GetGuid(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a globally unique identifier (GUID).</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetInt16_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetInt16(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetInt16.html#C1_DataConnector_C1DataReaderBase_GetInt16_System_Int32_">GetInt16(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a 16-bit signed integer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetInt32_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetInt32(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetInt32.html#C1_DataConnector_C1DataReaderBase_GetInt32_System_Int32_">GetInt32(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a 32-bit signed integer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetInt64_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetInt64(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetInt64.html#C1_DataConnector_C1DataReaderBase_GetInt64_System_Int32_">GetInt64(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a 64-bit signed integer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetString_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetString(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetString.html#C1_DataConnector_C1DataReaderBase_GetString_System_Int32_">GetString(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column as a string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetValue_System_Int32_" data-uid="C1.DataConnector.C1DataReaderBase.GetValue(System.Int32)">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetValue.html#C1_DataConnector_C1DataReaderBase_GetValue_System_Int32_">GetValue(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the specified column in its native format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_C1DataReaderBase_GetValues_System_Object___" data-uid="C1.DataConnector.C1DataReaderBase.GetValues(System.Object[])">
          <a class="xref" href="C1.DataConnector.C1DataReaderBase.GetValues.html#C1_DataConnector_C1DataReaderBase_GetValues_System_Object___">GetValues(object[])</a>
        </td>
        <td class="markdown level1 summary"><p>Populates an array of objects with the column values of the current row.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
