# C1.AdoNet.Json.C1JsonCommand.SupportBatch

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_AdoNet_Json_C1JsonCommand_SupportBatch_" data-uid="C1.AdoNet.Json.C1JsonCommand.SupportBatch*">SupportBatch Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_AdoNet_Json_C1JsonCommand_SupportBatch_" data-uid="C1.AdoNet.Json.C1JsonCommand.SupportBatch*"></a>
<h4 id="C1_AdoNet_Json_C1JsonCommand_SupportBatch_System_Collections_Generic_IEnumerator_C1_DataConnector_ISQLStatement__" data-uid="C1.AdoNet.Json.C1JsonCommand.SupportBatch(System.Collections.Generic.IEnumerator{C1.DataConnector.ISQLStatement})">SupportBatch(IEnumerator&lt;ISQLStatement&gt;)</h4>
<div class="markdown level1 summary"><p>Virtual method to check whether or not <code class="paramref">statements</code> can be executed directly
as a batch operation on the server pointed by the connection used by this command.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override bool SupportBatch(IEnumerator&lt;ISQLStatement&gt; statements)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Function SupportBatch(statements As IEnumerator(Of ISQLStatement)) As Boolean</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.collections.generic.ienumerator-1">IEnumerator</a>&lt;<a class="xref" href="../C1.DataConnector/C1.DataConnector.ISQLStatement.html">ISQLStatement</a>&gt;</td>
      <td><span class="parametername">statements</span></td>
      <td><p>The statements contained in the batch operation.</p>
</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.boolean">bool</a></td>
      <td><p>A boolean indicating if <code class="paramref">statements</code> can be executed directly on the server.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="../C1.AdoNet.CSV/C1.DataConnector.AdoNet.C1CommandBase.SupportBatch.html#C1_DataConnector_AdoNet_C1CommandBase_SupportBatch_System_Collections_Generic_IEnumerator_C1_DataConnector_ISQLStatement__">C1CommandBase.SupportBatch(IEnumerator&lt;ISQLStatement&gt;)</a></div>
</div>
