# C1.DataEngine.DbConnector

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataEngine_DbConnector" data-uid="C1.DataEngine.DbConnector" class="text-break">DbConnector Class
</h1>
  <div class="markdown level0 summary"><p>Connector for importing data to a DataEngine table from a database.</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="C1.DataEngine.Connector.html">Connector</a></div>
    <div class="level2"><span class="xref">DbConnector</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataEngine.html">C1.DataEngine</a></h6>
  <h6><strong>Assembly</strong>: C1.DataEngine.dll</h6>
  <h5 id="C1_DataEngine_DbConnector_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DbConnector : Connector</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DbConnector
    Inherits Connector</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_DataEngine_DbConnector__ctor_C1_DataEngine_Workspace_System_Data_Common_DbConnection_System_Data_Common_DbCommand_" data-uid="C1.DataEngine.DbConnector.#ctor(C1.DataEngine.Workspace,System.Data.Common.DbConnection,System.Data.Common.DbCommand)">
          <a class="xref" href="C1.DataEngine.DbConnector.-ctor.html#C1_DataEngine_DbConnector__ctor_C1_DataEngine_Workspace_System_Data_Common_DbConnection_System_Data_Common_DbCommand_">DbConnector(Workspace, DbConnection, DbCommand)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.data.common.dbconnection">DbConnection</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataEngine_DbConnector_connection" data-uid="C1.DataEngine.DbConnector.connection">
          <a class="xref" href="C1.DataEngine.DbConnector.connection.html">connection</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataEngine_DbConnector_Command" data-uid="C1.DataEngine.DbConnector.Command">
          <a class="xref" href="C1.DataEngine.DbConnector.Command.html#C1_DataEngine_DbConnector_Command">Command</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the ADO.NET command object for retrieving data from the database.</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_DataEngine_DbConnector_AddNewColumns_System_String_System_Int64_" data-uid="C1.DataEngine.DbConnector.AddNewColumns(System.String,System.Int64)">
          <a class="xref" href="C1.DataEngine.DbConnector.AddNewColumns.html#C1_DataEngine_DbConnector_AddNewColumns_System_String_System_Int64_">AddNewColumns(string, long)</a>
        </td>
        <td class="markdown level1 summary"><p>Add new columns to an existing DataEngine table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataEngine_DbConnector_AppendData_System_String_System_Int64_" data-uid="C1.DataEngine.DbConnector.AppendData(System.String,System.Int64)">
          <a class="xref" href="C1.DataEngine.DbConnector.AppendData.html#C1_DataEngine_DbConnector_AppendData_System_String_System_Int64_">AppendData(string, long)</a>
        </td>
        <td class="markdown level1 summary"><p>Append data to the end of a DataEngine table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataEngine_DbConnector_GetData_C1_DataEngine_Workspace_System_Data_DataTable_System_String_System_Int64_" data-uid="C1.DataEngine.DbConnector.GetData(C1.DataEngine.Workspace,System.Data.DataTable,System.String,System.Int64)">
          <a class="xref" href="C1.DataEngine.DbConnector.GetData.html#C1_DataEngine_DbConnector_GetData_C1_DataEngine_Workspace_System_Data_DataTable_System_String_System_Int64_">GetData(Workspace, DataTable, string, long)</a>
        </td>
        <td class="markdown level1 summary"><p>Import data to a DataEngine table from an ADO.NET DataTable.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataEngine_DbConnector_GetData_System_String_System_Int64_" data-uid="C1.DataEngine.DbConnector.GetData(System.String,System.Int64)">
          <a class="xref" href="C1.DataEngine.DbConnector.GetData.html#C1_DataEngine_DbConnector_GetData_System_String_System_Int64_">GetData(string, long)</a>
        </td>
        <td class="markdown level1 summary"><p>Import data to a DataEngine table.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
