> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AddTableType

<div className="kinetica-doxygen">
  <div id="a70e69d7b05f7b75f211e3c1aaabccf41" />

  <h2 className="memtitle"><span className="permalink"><a href="#a70e69d7b05f7b75f211e3c1aaabccf41">◆ </a></span>AddTableType()</h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">void kinetica.Kinetica.AddTableType </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">table\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">Type</td>
                <td className="paramname"><span className="paramname"><span className="em">obj\_type</span></span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Given a table name, add its record type to enable proper encoding of records for insertion or updates. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">table\_name</td>
              <td>Name of the table.</td>
            </tr>

            <tr>
              <td className="paramname">obj\_type</td>
              <td>The type associated with the table.</td>
            </tr>
          </table>
        </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Kinetica.cs#L976">976</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/Kinetica.cs">Kinetica.cs</a>.</p>
    </div>
  </div>
</div>
