# GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey

## Content

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



  <h1 id="GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey" data-uid="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey" class="text-break">ForeignKey Class
</h1>
  <div class="markdown level0 summary"><p>Defines the foreigh key.</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">ForeignKey</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.html">GrapeCity.ActiveReports.Extensibility.Data.SchemaModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class ForeignKey</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="GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey__ctor_GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_Table_GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_Table_System_Collections_Generic_IEnumerable_GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_Column__System_Collections_Generic_IEnumerable_GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_Column__" data-uid="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.#ctor(GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.Table,GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.Table,System.Collections.Generic.IEnumerable{GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.Column},System.Collections.Generic.IEnumerable{GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.Column})">
          <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.-ctor.html#GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey__ctor_GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_Table_GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_Table_System_Collections_Generic_IEnumerable_GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_Column__System_Collections_Generic_IEnumerable_GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_Column__">ForeignKey(Table, Table, IEnumerable&lt;Column&gt;, IEnumerable&lt;Column&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.html">ForeignKey</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey_Destination" data-uid="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.Destination">
          <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.Destination.html#GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey_Destination">Destination</a>
        </td>
        <td class="markdown level1 summary"><p>The destination table.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey_DestinationColumns" data-uid="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.DestinationColumns">
          <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.DestinationColumns.html#GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey_DestinationColumns">DestinationColumns</a>
        </td>
        <td class="markdown level1 summary"><p>The columnts that defines a destination.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey_Source" data-uid="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.Source">
          <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.Source.html#GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey_Source">Source</a>
        </td>
        <td class="markdown level1 summary"><p>The source table.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey_SourceColumns" data-uid="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.SourceColumns">
          <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Data.SchemaModel.ForeignKey.SourceColumns.html#GrapeCity_ActiveReports_Extensibility_Data_SchemaModel_ForeignKey_SourceColumns">SourceColumns</a>
        </td>
        <td class="markdown level1 summary"><p>The columns that defines a source.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
