# C1.DataEngine.DataList

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataEngine_DataList" data-uid="C1.DataEngine.DataList" class="text-break">DataList Class
</h1>
  <div class="markdown level0 summary"><p>Static helpers for sorting and outputting C1DataEngine base tables or queries.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">DataList</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataEngine.html">C1.DataEngine</a></h6>
  <h6><strong>Assembly</strong>: C1.DataEngine.Api.dll</h6>
  <h5 id="C1_DataEngine_DataList_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class DataList</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module DataList</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataEngine_DataList_Sort_C1_DataEngine_IDataList_System_String_System_Boolean_" data-uid="C1.DataEngine.DataList.Sort(C1.DataEngine.IDataList,System.String,System.Boolean)">
          <a class="xref" href="C1.DataEngine.DataList.Sort.html#C1_DataEngine_DataList_Sort_C1_DataEngine_IDataList_System_String_System_Boolean_">Sort(IDataList, string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sorts a list based on a property name and sort direction.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataEngine_DataList_Write_C1_DataEngine_IDataList_System_IO_TextWriter_C1_DataEngine_OutputFormat_" data-uid="C1.DataEngine.DataList.Write(C1.DataEngine.IDataList,System.IO.TextWriter,C1.DataEngine.OutputFormat)">
          <a class="xref" href="C1.DataEngine.DataList.Write.html#C1_DataEngine_DataList_Write_C1_DataEngine_IDataList_System_IO_TextWriter_C1_DataEngine_OutputFormat_">Write(IDataList, TextWriter, OutputFormat)</a>
        </td>
        <td class="markdown level1 summary"><p>Outputs a list to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.textwriter">TextWriter</a> instance in one of the supported formats.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
