# GrapeCity.ActiveReports.Core.Rendering.Data.IDbConnectionAdapterWithDataSource

## Content

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



  <h1 id="GrapeCity_ActiveReports_Core_Rendering_Data_IDbConnectionAdapterWithDataSource" data-uid="GrapeCity.ActiveReports.Core.Rendering.Data.IDbConnectionAdapterWithDataSource" class="text-break">IDbConnectionAdapterWithDataSource Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a command adapter for supporting data source locators.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Data.html">GrapeCity.ActiveReports.Core.Rendering.Data</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rendering.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Core_Rendering_Data_IDbConnectionAdapterWithDataSource_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IDbConnectionAdapterWithDataSource</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_Core_Rendering_Data_IDbConnectionAdapterWithDataSource_SetDataSourceLocator_System_Data_IDbConnection_System_Action_GrapeCity_ActiveReports_Core_Rendering_Data_LocateDataSourceArgs__" data-uid="GrapeCity.ActiveReports.Core.Rendering.Data.IDbConnectionAdapterWithDataSource.SetDataSourceLocator(System.Data.IDbConnection,System.Action{GrapeCity.ActiveReports.Core.Rendering.Data.LocateDataSourceArgs})">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Data.IDbConnectionAdapterWithDataSource.SetDataSourceLocator.html#GrapeCity_ActiveReports_Core_Rendering_Data_IDbConnectionAdapterWithDataSource_SetDataSourceLocator_System_Data_IDbConnection_System_Action_GrapeCity_ActiveReports_Core_Rendering_Data_LocateDataSourceArgs__">SetDataSourceLocator(IDbConnection, Action&lt;LocateDataSourceArgs&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the data source getter function for the specified database connection command.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Tools.ObjectExtensions.IsNumber.html#GrapeCity_ActiveReports_Core_Rendering_Tools_ObjectExtensions_IsNumber_System_Object_">ObjectExtensions.IsNumber(object)</a>
  </div>

</div>
