# C1.DataConnector.SharedUtils

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataConnector_SharedUtils" data-uid="C1.DataConnector.SharedUtils" class="text-break">SharedUtils Class
</h1>
  <div class="markdown level0 summary"><p>Shared utils class for all connectors</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">SharedUtils</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataConnector.html">C1.DataConnector</a></h6>
  <h6><strong>Assembly</strong>: C1.DataConnector.dll</h6>
  <h5 id="C1_DataConnector_SharedUtils_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SharedUtils</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SharedUtils</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataConnector_SharedUtils__ctor" data-uid="C1.DataConnector.SharedUtils.#ctor">
          <a class="xref" href="C1.DataConnector.SharedUtils.-ctor.html#C1_DataConnector_SharedUtils__ctor">SharedUtils()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <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_DataConnector_SharedUtils_FilterReturningRows_C1_DataConnector_SourceTable_C1_DataConnector_InsertStatement_" data-uid="C1.DataConnector.SharedUtils.FilterReturningRows(C1.DataConnector.SourceTable,C1.DataConnector.InsertStatement)">
          <a class="xref" href="C1.DataConnector.SharedUtils.FilterReturningRows.html#C1_DataConnector_SharedUtils_FilterReturningRows_C1_DataConnector_SourceTable_C1_DataConnector_InsertStatement_">FilterReturningRows(SourceTable, InsertStatement)</a>
        </td>
        <td class="markdown level1 summary"><p>Filter the rows present in the RETURNING clause</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_SharedUtils_GenerateHierarchyList_C1_DataConnector_IExpression_System_Object_System_String_System_String_System_Collections_Generic_List_System_String__" data-uid="C1.DataConnector.SharedUtils.GenerateHierarchyList(C1.DataConnector.IExpression,System.Object,System.String,System.String,System.Collections.Generic.List{System.String})">
          <a class="xref" href="C1.DataConnector.SharedUtils.GenerateHierarchyList.html#C1_DataConnector_SharedUtils_GenerateHierarchyList_C1_DataConnector_IExpression_System_Object_System_String_System_String_System_Collections_Generic_List_System_String__">GenerateHierarchyList(IExpression, object, string, string, List&lt;string&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Generates a list of properties based on hierarchy attribute conditions and property values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_SharedUtils_GetPropertiesWithHierarchy__1_System_String___0_" data-uid="C1.DataConnector.SharedUtils.GetPropertiesWithHierarchy``1(System.String,``0)">
          <a class="xref" href="C1.DataConnector.SharedUtils.GetPropertiesWithHierarchy.html#C1_DataConnector_SharedUtils_GetPropertiesWithHierarchy__1_System_String___0_">GetPropertiesWithHierarchy&lt;T&gt;(string, T)</a>
        </td>
        <td class="markdown level1 summary"><p>Retrieves properties with hierarchy attributes based on a connection string property selected and object instance of class.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
