# GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.DataSchema.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_DataSchema__ctor_" data-uid="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.DataSchema.#ctor*">DataSchema Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_DataSchema__ctor_" data-uid="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.DataSchema.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_DataSchema__ctor_System_Collections_Generic_IEnumerable_GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_Table__System_Collections_Generic_IEnumerable_GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey__" data-uid="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.DataSchema.#ctor(System.Collections.Generic.IEnumerable{GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.Table},System.Collections.Generic.IEnumerable{GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey})">DataSchema(IEnumerable&lt;Table&gt;, IEnumerable&lt;ForeignKey&gt;)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.DataSchema.html">DataSchema</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataSchema(IEnumerable&lt;Table&gt; tables, IEnumerable&lt;ForeignKey&gt; foreighKeys)</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="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.Table.html">Table</a>&gt;</td>
      <td><span class="parametername">tables</span></td>
      <td><p>The tables collection.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.html">ForeignKey</a>&gt;</td>
      <td><span class="parametername">foreighKeys</span></td>
      <td><p>The foreigh keys collection.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
