# GrapeCity.ActiveReports.Rendering.DataTreeBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder" class="text-break">DataTreeBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Represents a class that implements data retrieval for a given <a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Report.html">Report</a> object.</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">DataTreeBuilder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Rendering.html">GrapeCity.ActiveReports.Rendering</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rendering.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class DataTreeBuilder</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="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_BuildData_GrapeCity_ActiveReports_Rendering_ReportStore_System_Threading_CancellationToken_GrapeCity_Enterprise_Data_DataEngine_Def_Report_GrapeCity_ActiveReports_Rendering_DataTreeBuilderConfig_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_Enterprise_Data_DataEngine_InteractiveSortState_GrapeCity_ActiveReports_Extensibility_Rendering_IReportInformationService_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Func_GrapeCity_ActiveReports_Rendering_CustomContextArgs_System_Object___" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.BuildData(GrapeCity.ActiveReports.Rendering.ReportStore,System.Threading.CancellationToken,GrapeCity.Enterprise.Data.DataEngine.Def.Report,GrapeCity.ActiveReports.Rendering.DataTreeBuilderConfig,GrapeCity.Enterprise.Data.DataEngine.DataParameter[],GrapeCity.Enterprise.Data.DataEngine.InteractiveSortState,GrapeCity.ActiveReports.Extensibility.Rendering.IReportInformationService,System.Collections.Generic.IReadOnlyDictionary{System.String,System.Func{GrapeCity.ActiveReports.Rendering.CustomContextArgs,System.Object}})">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.BuildData.html#GrapeCity_ActiveReports_Rendering_DataTreeBuilder_BuildData_GrapeCity_ActiveReports_Rendering_ReportStore_System_Threading_CancellationToken_GrapeCity_Enterprise_Data_DataEngine_Def_Report_GrapeCity_ActiveReports_Rendering_DataTreeBuilderConfig_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_Enterprise_Data_DataEngine_InteractiveSortState_GrapeCity_ActiveReports_Extensibility_Rendering_IReportInformationService_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Func_GrapeCity_ActiveReports_Rendering_CustomContextArgs_System_Object___">BuildData(ReportStore, CancellationToken, Report, DataTreeBuilderConfig, DataParameter[], InteractiveSortState, IReportInformationService, IReadOnlyDictionary&lt;string, Func&lt;CustomContextArgs, object&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Builds data for the given <a class="xref" href="GrapeCity.ActiveReports.Rendering.ReportStore.html">ReportStore</a> and other parameters.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_BuildQuery_GrapeCity_ActiveReports_Rendering_ReportStore_" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.BuildQuery(GrapeCity.ActiveReports.Rendering.ReportStore)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.BuildQuery.html#GrapeCity_ActiveReports_Rendering_DataTreeBuilder_BuildQuery_GrapeCity_ActiveReports_Rendering_ReportStore_">BuildQuery(ReportStore)</a>
        </td>
        <td class="markdown level1 summary"><p>Builds a query for the given <a class="xref" href="GrapeCity.ActiveReports.Rendering.ReportStore.html">ReportStore</a> and <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Data.SubreportsInfo.html">SubreportsInfo</a> templates.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_BuildQuery_GrapeCity_ActiveReports_Rendering_ReportStore_GrapeCity_ActiveReports_Core_Rendering_IExpressionEvaluatorService_" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.BuildQuery(GrapeCity.ActiveReports.Rendering.ReportStore,GrapeCity.ActiveReports.Core.Rendering.IExpressionEvaluatorService)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.BuildQuery.html#GrapeCity_ActiveReports_Rendering_DataTreeBuilder_BuildQuery_GrapeCity_ActiveReports_Rendering_ReportStore_GrapeCity_ActiveReports_Core_Rendering_IExpressionEvaluatorService_">BuildQuery(ReportStore, IExpressionEvaluatorService)</a>
        </td>
        <td class="markdown level1 summary"><p>Builds a query for the given <a class="xref" href="GrapeCity.ActiveReports.Rendering.ReportStore.html">ReportStore</a> and <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Data.SubreportsInfo.html">SubreportsInfo</a> templates.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_CreateReportParametersManager_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_ActiveReports_Rendering_DataTreeBuilderConfig_GrapeCity_ActiveReports_Extensibility_Rendering_IReportInformationService_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Func_GrapeCity_ActiveReports_Rendering_CustomContextArgs_System_Object___" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.CreateReportParametersManager(GrapeCity.ActiveReports.PageReportModel.Report,GrapeCity.Enterprise.Data.DataEngine.DataParameter[],GrapeCity.ActiveReports.Rendering.DataTreeBuilderConfig,GrapeCity.ActiveReports.Extensibility.Rendering.IReportInformationService,System.Collections.Generic.IReadOnlyDictionary{System.String,System.Func{GrapeCity.ActiveReports.Rendering.CustomContextArgs,System.Object}})">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.CreateReportParametersManager.html#GrapeCity_ActiveReports_Rendering_DataTreeBuilder_CreateReportParametersManager_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_ActiveReports_Rendering_DataTreeBuilderConfig_GrapeCity_ActiveReports_Extensibility_Rendering_IReportInformationService_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Func_GrapeCity_ActiveReports_Rendering_CustomContextArgs_System_Object___">CreateReportParametersManager(Report, DataParameter[], DataTreeBuilderConfig, IReportInformationService, IReadOnlyDictionary&lt;string, Func&lt;CustomContextArgs, object&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.IReportParametersManager.html">IReportParametersManager</a> for a given report.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_CreateReportParametersManager_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_Enterprise_Data_DataEngine_DataParameter___System_Boolean_GrapeCity_ActiveReports_Rendering_DataTreeBuilderConfig_GrapeCity_ActiveReports_Extensibility_Rendering_IReportInformationService_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Func_GrapeCity_ActiveReports_Rendering_CustomContextArgs_System_Object___" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.CreateReportParametersManager(GrapeCity.ActiveReports.PageReportModel.Report,GrapeCity.Enterprise.Data.DataEngine.DataParameter[],System.Boolean,GrapeCity.ActiveReports.Rendering.DataTreeBuilderConfig,GrapeCity.ActiveReports.Extensibility.Rendering.IReportInformationService,System.Collections.Generic.IReadOnlyDictionary{System.String,System.Func{GrapeCity.ActiveReports.Rendering.CustomContextArgs,System.Object}})">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.CreateReportParametersManager.html#GrapeCity_ActiveReports_Rendering_DataTreeBuilder_CreateReportParametersManager_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_Enterprise_Data_DataEngine_DataParameter___System_Boolean_GrapeCity_ActiveReports_Rendering_DataTreeBuilderConfig_GrapeCity_ActiveReports_Extensibility_Rendering_IReportInformationService_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Func_GrapeCity_ActiveReports_Rendering_CustomContextArgs_System_Object___">CreateReportParametersManager(Report, DataParameter[], bool, DataTreeBuilderConfig, IReportInformationService, IReadOnlyDictionary&lt;string, Func&lt;CustomContextArgs, object&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.IReportParametersManager.html">IReportParametersManager</a> for a given report.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_CreateSnapshotEvaluationContext_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_ActiveReports_ResourceLocator_GrapeCity_ActiveReports_Extensibility_Rendering_IReportInformationService_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Func_GrapeCity_ActiveReports_Rendering_CustomContextArgs_System_Object___" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.CreateSnapshotEvaluationContext(GrapeCity.ActiveReports.PageReportModel.Report,GrapeCity.Enterprise.Data.DataEngine.DataParameter[],GrapeCity.ActiveReports.ResourceLocator,GrapeCity.ActiveReports.Extensibility.Rendering.IReportInformationService,System.Collections.Generic.IReadOnlyDictionary{System.String,System.Func{GrapeCity.ActiveReports.Rendering.CustomContextArgs,System.Object}})">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.CreateSnapshotEvaluationContext.html#GrapeCity_ActiveReports_Rendering_DataTreeBuilder_CreateSnapshotEvaluationContext_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_ActiveReports_ResourceLocator_GrapeCity_ActiveReports_Extensibility_Rendering_IReportInformationService_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Func_GrapeCity_ActiveReports_Rendering_CustomContextArgs_System_Object___">CreateSnapshotEvaluationContext(Report, DataParameter[], ResourceLocator, IReportInformationService, IReadOnlyDictionary&lt;string, Func&lt;CustomContextArgs, object&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a snapshot evaluation context.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_RebuildResultTree_GrapeCity_ActiveReports_Core_Rendering_Data_ReportDataSnapshot_GrapeCity_ActiveReports_Rendering_ReportStore_GrapeCity_Enterprise_Data_DataEngine_ExpressionEvaluation_IExpressionContext_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_Enterprise_Data_DataEngine_InteractiveSortState_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Object__" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.RebuildResultTree(GrapeCity.ActiveReports.Core.Rendering.Data.ReportDataSnapshot,GrapeCity.ActiveReports.Rendering.ReportStore,GrapeCity.Enterprise.Data.DataEngine.ExpressionEvaluation.IExpressionContext,GrapeCity.Enterprise.Data.DataEngine.DataParameter[],GrapeCity.Enterprise.Data.DataEngine.InteractiveSortState,System.Collections.Generic.IReadOnlyDictionary{System.String,System.Object})">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.RebuildResultTree.html#GrapeCity_ActiveReports_Rendering_DataTreeBuilder_RebuildResultTree_GrapeCity_ActiveReports_Core_Rendering_Data_ReportDataSnapshot_GrapeCity_ActiveReports_Rendering_ReportStore_GrapeCity_Enterprise_Data_DataEngine_ExpressionEvaluation_IExpressionContext_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_Enterprise_Data_DataEngine_InteractiveSortState_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Object__">RebuildResultTree(ReportDataSnapshot, ReportStore, IExpressionContext, DataParameter[], InteractiveSortState, IReadOnlyDictionary&lt;string, object&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Rebuilds the result tree of the given <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Data.ReportDataSnapshot.html">ReportDataSnapshot</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_RebuildResultTree_GrapeCity_ActiveReports_Core_Rendering_Data_ReportDataSnapshot_GrapeCity_Enterprise_Data_DataEngine_DataParameter___System_Func_GrapeCity_Enterprise_Data_DataEngine_Def_Report_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_Enterprise_Data_DataEngine_ExpressionEvaluation_IExpressionContext__GrapeCity_Enterprise_Data_DataEngine_InteractiveSortState_" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.RebuildResultTree(GrapeCity.ActiveReports.Core.Rendering.Data.ReportDataSnapshot,GrapeCity.Enterprise.Data.DataEngine.DataParameter[],System.Func{GrapeCity.Enterprise.Data.DataEngine.Def.Report,GrapeCity.Enterprise.Data.DataEngine.DataParameter[],GrapeCity.Enterprise.Data.DataEngine.ExpressionEvaluation.IExpressionContext},GrapeCity.Enterprise.Data.DataEngine.InteractiveSortState)">
          <a class="xref" href="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.RebuildResultTree.html#GrapeCity_ActiveReports_Rendering_DataTreeBuilder_RebuildResultTree_GrapeCity_ActiveReports_Core_Rendering_Data_ReportDataSnapshot_GrapeCity_Enterprise_Data_DataEngine_DataParameter___System_Func_GrapeCity_Enterprise_Data_DataEngine_Def_Report_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_Enterprise_Data_DataEngine_ExpressionEvaluation_IExpressionContext__GrapeCity_Enterprise_Data_DataEngine_InteractiveSortState_">RebuildResultTree(ReportDataSnapshot, DataParameter[], Func&lt;Report, DataParameter[], IExpressionContext&gt;, InteractiveSortState)</a>
        </td>
        <td class="markdown level1 summary"><p>Rebuilds the result tree of the given <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Data.ReportDataSnapshot.html">ReportDataSnapshot</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
