# C1.AdoNet.D365S.C1D365SDataAdapter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_AdoNet_D365S_C1D365SDataAdapter" data-uid="C1.AdoNet.D365S.C1D365SDataAdapter" class="text-break">C1D365SDataAdapter Class
</h1>
  <div class="markdown level0 summary"><p>Represents a set of data commands and a connection to a data source that are used to
fill the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.dataset">DataSet</a> and update the data source. This class cannot be inherited.</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.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.common.dataadapter">DataAdapter</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.common.dbdataadapter">DbDataAdapter</a></div>
    <div class="level5"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataAdapterBase.html">C1DataAdapterBase</a></div>
    <div class="level6"><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1DataAdapterBase-1.html">C1DataAdapterBase</a>&lt;<a class="xref" href="C1.AdoNet.D365S.C1D365SCommand.html">C1D365SCommand</a>&gt;</div>
    <div class="level7"><span class="xref">C1D365SDataAdapter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</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.icloneable">ICloneable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.idbdataadapter">IDbDataAdapter</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.idataadapter">IDataAdapter</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.AdoNet.D365S.html">C1.AdoNet.D365S</a></h6>
  <h6><strong>Assembly</strong>: C1.AdoNet.D365S.dll</h6>
  <h5 id="C1_AdoNet_D365S_C1D365SDataAdapter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class C1D365SDataAdapter : C1DataAdapterBase&lt;C1D365SCommand&gt;, IComponent, IDisposable, ICloneable, IDbDataAdapter, IDataAdapter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class C1D365SDataAdapter
    Inherits C1DataAdapterBase(Of C1D365SCommand)
    Implements IComponent, IDisposable, ICloneable, IDbDataAdapter, IDataAdapter</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_AdoNet_D365S_C1D365SDataAdapter__ctor" data-uid="C1.AdoNet.D365S.C1D365SDataAdapter.#ctor">
          <a class="xref" href="C1.AdoNet.D365S.C1D365SDataAdapter.-ctor.html#C1_AdoNet_D365S_C1D365SDataAdapter__ctor">C1D365SDataAdapter()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of the <a class="xref" href="C1.AdoNet.D365S.C1D365SDataAdapter.html">C1D365SDataAdapter</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_AdoNet_D365S_C1D365SDataAdapter__ctor_C1_AdoNet_D365S_C1D365SCommand_" data-uid="C1.AdoNet.D365S.C1D365SDataAdapter.#ctor(C1.AdoNet.D365S.C1D365SCommand)">
          <a class="xref" href="C1.AdoNet.D365S.C1D365SDataAdapter.-ctor.html#C1_AdoNet_D365S_C1D365SDataAdapter__ctor_C1_AdoNet_D365S_C1D365SCommand_">C1D365SDataAdapter(C1D365SCommand)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of the <a class="xref" href="C1.AdoNet.D365S.C1D365SDataAdapter.html">C1D365SDataAdapter</a> class, for executing the passed db command.</p>
</td>
      </tr>
      <tr>
        <td id="C1_AdoNet_D365S_C1D365SDataAdapter__ctor_C1_AdoNet_D365S_C1D365SConnection_System_String_" data-uid="C1.AdoNet.D365S.C1D365SDataAdapter.#ctor(C1.AdoNet.D365S.C1D365SConnection,System.String)">
          <a class="xref" href="C1.AdoNet.D365S.C1D365SDataAdapter.-ctor.html#C1_AdoNet_D365S_C1D365SDataAdapter__ctor_C1_AdoNet_D365S_C1D365SConnection_System_String_">C1D365SDataAdapter(C1D365SConnection, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of the <a class="xref" href="C1.AdoNet.D365S.C1D365SDataAdapter.html">C1D365SDataAdapter</a> class, for executing over a specific connection
the db command from a specific text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_AdoNet_D365S_C1D365SDataAdapter__ctor_System_String_System_String_" data-uid="C1.AdoNet.D365S.C1D365SDataAdapter.#ctor(System.String,System.String)">
          <a class="xref" href="C1.AdoNet.D365S.C1D365SDataAdapter.-ctor.html#C1_AdoNet_D365S_C1D365SDataAdapter__ctor_System_String_System_String_">C1D365SDataAdapter(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of the <a class="xref" href="C1.AdoNet.D365S.C1D365SDataAdapter.html">C1D365SDataAdapter</a> class, for executing over a connection specified
by a connection string, the db command from a specific text.</p>
</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_AdoNet_D365S_C1D365SDataAdapter_AddToBatch_System_Data_IDbCommand_" data-uid="C1.AdoNet.D365S.C1D365SDataAdapter.AddToBatch(System.Data.IDbCommand)">
          <a class="xref" href="C1.AdoNet.D365S.C1D365SDataAdapter.AddToBatch.html#C1_AdoNet_D365S_C1D365SDataAdapter_AddToBatch_System_Data_IDbCommand_">AddToBatch(IDbCommand)</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked for every row affected based on the current records in DataTable.
It got called the same amount of times as the value of UpdateBatchSize.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
