# C1.C1Preview.DataBinding.CommandTypeEnum

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_C1Preview_DataBinding_CommandTypeEnum" data-uid="C1.C1Preview.DataBinding.CommandTypeEnum" class="text-break">CommandTypeEnum Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the query type of a <a class="xref" href="C1.C1Preview.DataBinding.Query.html">Query</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.DataBinding.html">C1.C1Preview.DataBinding</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_DataBinding_CommandTypeEnum_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum CommandTypeEnum</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum CommandTypeEnum</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_C1Preview_DataBinding_CommandTypeEnum_StoredProcedure">StoredProcedure</td>
        <td><p>The <a class="xref" href="C1.C1Preview.DataBinding.Query.CommandText.html#C1_C1Preview_DataBinding_Query_CommandText">CommandText</a> of a
<a class="xref" href="C1.C1Preview.DataBinding.Query.html">Query</a> contains the name
of a stored procedure that should be executed to retrieve the data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DataBinding_CommandTypeEnum_TableDirect">TableDirect</td>
        <td><p>The <a class="xref" href="C1.C1Preview.DataBinding.Query.CommandText.html#C1_C1Preview_DataBinding_Query_CommandText">CommandText</a> of a
<a class="xref" href="C1.C1Preview.DataBinding.Query.html">Query</a> contains the name
of a data table.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DataBinding_CommandTypeEnum_Text">Text</td>
        <td><p>The <a class="xref" href="C1.C1Preview.DataBinding.Query.CommandText.html#C1_C1Preview_DataBinding_Query_CommandText">CommandText</a> of a
<a class="xref" href="C1.C1Preview.DataBinding.Query.html">Query</a> contains the SQL query text.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
