# C1.AdoNet.D365S.C1D365SCommand.CreateInnerCommand

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_AdoNet_D365S_C1D365SCommand_CreateInnerCommand_" data-uid="C1.AdoNet.D365S.C1D365SCommand.CreateInnerCommand*">CreateInnerCommand Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_AdoNet_D365S_C1D365SCommand_CreateInnerCommand_" data-uid="C1.AdoNet.D365S.C1D365SCommand.CreateInnerCommand*"></a>
<h4 id="C1_AdoNet_D365S_C1D365SCommand_CreateInnerCommand_C1_AdoNet_OData_C1ODataConnection_" data-uid="C1.AdoNet.D365S.C1D365SCommand.CreateInnerCommand(C1.AdoNet.OData.C1ODataConnection)">CreateInnerCommand(C1ODataConnection)</h4>
<div class="markdown level1 summary"><p>Creates and returns an inner command for the passed connection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override C1ODataCommand CreateInnerCommand(C1ODataConnection connection)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Function CreateInnerCommand(connection As C1ODataConnection) As C1ODataCommand</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="../C1.AdoNet.OData/C1.AdoNet.OData.C1ODataConnection.html">C1ODataConnection</a></td>
      <td><span class="parametername">connection</span></td>
      <td><p>The <a class="xref" href="../C1.AdoNet.OData/C1.AdoNet.OData.C1ODataConnection.html">C1ODataConnection</a> to be used to create a command.</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="../C1.AdoNet.OData/C1.AdoNet.OData.C1ODataCommand.html">C1ODataCommand</a></td>
      <td><p>The created <a class="xref" href="../C1.AdoNet.OData/C1.AdoNet.OData.C1ODataCommand.html">C1ODataCommand</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="C1.DataConnector.AdoNet.DbCommandWrap-3.CreateInnerCommand.html#C1_DataConnector_AdoNet_DbCommandWrap_3_CreateInnerCommand__0_">DbCommandWrap&lt;C1ODataConnection, C1ODataCommand, C1DbParameter&gt;.CreateInnerCommand(C1ODataConnection)</a></div>
</div>
