# C1.AdoNet.Salesforce.C1SalesforceCommand.GetRequiredColumnNames

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_AdoNet_Salesforce_C1SalesforceCommand_GetRequiredColumnNames_" data-uid="C1.AdoNet.Salesforce.C1SalesforceCommand.GetRequiredColumnNames*">GetRequiredColumnNames Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_AdoNet_Salesforce_C1SalesforceCommand_GetRequiredColumnNames_" data-uid="C1.AdoNet.Salesforce.C1SalesforceCommand.GetRequiredColumnNames*"></a>
<h4 id="C1_AdoNet_Salesforce_C1SalesforceCommand_GetRequiredColumnNames_System_String_System_Collections_Generic_IList_C1_DataConnector_AssignExpression__" data-uid="C1.AdoNet.Salesforce.C1SalesforceCommand.GetRequiredColumnNames(System.String,System.Collections.Generic.IList{C1.DataConnector.AssignExpression})">GetRequiredColumnNames(string, IList&lt;AssignExpression&gt;)</h4>
<div class="markdown level1 summary"><p>Get the column names used to identify a specific row into update/delete query.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override List&lt;string&gt; GetRequiredColumnNames(string tableName, IList&lt;AssignExpression&gt; ignoreColumns)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Function GetRequiredColumnNames(tableName As String, ignoreColumns As IList(Of AssignExpression)) As List(Of String)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">tableName</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="../C1.DataConnector/C1.DataConnector.AssignExpression.html">AssignExpression</a>&gt;</td>
      <td><span class="parametername">ignoreColumns</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1CommandBase.GetRequiredColumnNames.html#C1_DataConnector_AdoNet_C1CommandBase_GetRequiredColumnNames_System_String_System_Collections_Generic_IList_C1_DataConnector_AssignExpression__">C1CommandBase.GetRequiredColumnNames(string, IList&lt;AssignExpression&gt;)</a></div>
</div>
