# C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3" class="text-break">BaseODataCollectionViewServiceBuilder&lt;T, TControl, TBuilder&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.html">BaseODataCollectionViewService&lt;T&gt;</a>.</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">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;TControl, TBuilder&gt;</div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.Fluent.ComponentBuilder-2.html">ComponentBuilder</a>&lt;TControl, TBuilder&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.Fluent.ServiceBuilder-2.html">ServiceBuilder</a>&lt;TControl, TBuilder&gt;</div>
    <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.BaseCollectionViewServiceBuilder-3.html">BaseCollectionViewServiceBuilder</a>&lt;T, TControl, TBuilder&gt;</div>
    <div class="level6"><span class="xref">BaseODataCollectionViewServiceBuilder&lt;T, TControl, TBuilder&gt;</span></div>
      <div class="level7"><a class="xref" href="C1.Web.Mvc.Fluent.ODataCollectionViewServiceBuilder-1.html">ODataCollectionViewServiceBuilder&lt;T&gt;</a></div>
      <div class="level7"><a class="xref" href="C1.Web.Mvc.Fluent.ODataVirtualCollectionViewServiceBuilder-1.html">ODataVirtualCollectionViewServiceBuilder&lt;T&gt;</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
    <div><a class="xref" href="C1.Web.Mvc.Fluent.ITemplateBuilder-1.html">ITemplateBuilder</a>&lt;TBuilder&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class BaseODataCollectionViewServiceBuilder&lt;T, TControl, TBuilder&gt; : BaseCollectionViewServiceBuilder&lt;T, TControl, TBuilder&gt;, IHtmlContent, ITemplateBuilder&lt;TBuilder&gt; where TControl : BaseODataCollectionViewService&lt;T&gt; where TBuilder : BaseODataCollectionViewServiceBuilder&lt;T, TControl, TBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class BaseODataCollectionViewServiceBuilder(Of T, TControl As BaseODataCollectionViewService(Of T), TBuilder As BaseODataCollectionViewServiceBuilder(Of T, TControl, TBuilder))
    Inherits BaseCollectionViewServiceBuilder(Of T, TControl, TBuilder)
    Implements IHtmlContent, ITemplateBuilder(Of TBuilder)</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TControl</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TBuilder</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <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_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3__ctor__1_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.#ctor(`1)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.-ctor.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3__ctor__1_">BaseODataCollectionViewServiceBuilder(TControl)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.html">BaseODataCollectionViewServiceBuilder&lt;T, TControl, TBuilder&gt;</a> instance to configurate <code class="paramref">component</code>.</p>
</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_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_DataType_System_String_C1_Web_Mvc_Grid_DataType_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.DataType(System.String,C1.Web.Mvc.Grid.DataType)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.DataType.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_DataType_System_String_C1_Web_Mvc_Grid_DataType_">DataType(string, DataType)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.DataTypes.html#C1_Web_Mvc_BaseODataCollectionViewService_1_DataTypes">DataTypes</a>.
Sets an object to be used as a map for coercing data types when loading the data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_DataTypes_System_Collections_Generic_IDictionary_System_String_C1_Web_Mvc_Grid_DataType__" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.DataTypes(System.Collections.Generic.IDictionary{System.String,C1.Web.Mvc.Grid.DataType})">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.DataTypes.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_DataTypes_System_Collections_Generic_IDictionary_System_String_C1_Web_Mvc_Grid_DataType__">DataTypes(IDictionary&lt;string, DataType&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.DataTypes.html#C1_Web_Mvc_BaseODataCollectionViewService_1_DataTypes">DataTypes</a>.
Sets an object to be used as a map for coercing data types when loading the data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_Expand_System_String_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.Expand(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.Expand.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_Expand_System_String_">Expand(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.Expand.html#C1_Web_Mvc_BaseODataCollectionViewService_1_Expand">Expand</a>.
Sets a string that specifies whether related entities should be included in the return data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_Fields_System_String___" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.Fields(System.String[])">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.Fields.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_Fields_System_String___">Fields(params string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.Fields.html#C1_Web_Mvc_BaseODataCollectionViewService_1_Fields">Fields</a>.
Sets an array containing the names of the fields to retrieve from the data source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_FilterDefinition_System_String_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.FilterDefinition(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.FilterDefinition.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_FilterDefinition_System_String_">FilterDefinition(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.FilterDefinition.html#C1_Web_Mvc_BaseODataCollectionViewService_1_FilterDefinition">FilterDefinition</a>.
Sets a string containing an OData filter specification to be used for filtering the data on the server.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_InferDataTypes_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.InferDataTypes(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.InferDataTypes.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_InferDataTypes_System_Boolean_">InferDataTypes(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.InferDataTypes.html#C1_Web_Mvc_BaseODataCollectionViewService_1_InferDataTypes">InferDataTypes</a>.
Sets a value that determines whether fields that contain strings that look like standard date representations should be converted to dates automatically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_JsonReviver_System_String_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.JsonReviver(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.JsonReviver.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_JsonReviver_System_String_">JsonReviver(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.JsonReviver.html#C1_Web_Mvc_BaseODataCollectionViewService_1_JsonReviver">JsonReviver</a>.
Sets a custom reviver function to use when parsing JSON values returned from the server.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_Keys_System_String___" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.Keys(System.String[])">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.Keys.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_Keys_System_String___">Keys(params string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.Keys.html#C1_Web_Mvc_BaseODataCollectionViewService_1_Keys">Keys</a>.
Sets an array containing the names of the key fields. Key fields are required for update operations (add/remove/delete).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_ODataVersion_System_Nullable_System_Double__" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.ODataVersion(System.Nullable{System.Double})">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.ODataVersion.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_ODataVersion_System_Nullable_System_Double__">ODataVersion(double?)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.ODataVersion.html#C1_Web_Mvc_BaseODataCollectionViewService_1_ODataVersion">ODataVersion</a>.
Sets the OData version used by the server.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_OnClientError_System_String_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.OnClientError(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.OnClientError.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_OnClientError_System_String_">OnClientError(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.OnClientError.html#C1_Web_Mvc_BaseODataCollectionViewService_1_OnClientError">OnClientError</a> client event.
Occurs when there is an error reading or writing data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_OnClientLoaded_System_String_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.OnClientLoaded(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.OnClientLoaded.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_OnClientLoaded_System_String_">OnClientLoaded(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.OnClientLoaded.html#C1_Web_Mvc_BaseODataCollectionViewService_1_OnClientLoaded">OnClientLoaded</a> client event.
Occurs when the <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.html">BaseODataCollectionViewService&lt;T&gt;</a> finishes loading data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_OnClientLoading_System_String_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.OnClientLoading(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.OnClientLoading.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_OnClientLoading_System_String_">OnClientLoading(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.OnClientLoading.html#C1_Web_Mvc_BaseODataCollectionViewService_1_OnClientLoading">OnClientLoading</a> client event.
Occurs when the <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.html">BaseODataCollectionViewService&lt;T&gt;</a> starts loading data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_RequestHeader_System_String_System_Object_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.RequestHeader(System.String,System.Object)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.RequestHeader.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_RequestHeader_System_String_System_Object_">RequestHeader(string, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.RequestHeaders.html#C1_Web_Mvc_BaseODataCollectionViewService_1_RequestHeaders">RequestHeaders</a>.
Sets an object containing request headers to be used when sending or requesting data. The most typical use for this property is in scenarios where authentication is required.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_RequestHeaders_System_Collections_Generic_IDictionary_System_String_System_Object__" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.RequestHeaders(System.Collections.Generic.IDictionary{System.String,System.Object})">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.RequestHeaders.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_RequestHeaders_System_Collections_Generic_IDictionary_System_String_System_Object__">RequestHeaders(IDictionary&lt;string, object&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.RequestHeaders.html#C1_Web_Mvc_BaseODataCollectionViewService_1_RequestHeaders">RequestHeaders</a>.
Sets an object containing request headers to be used when sending or requesting data. The most typical use for this property is in scenarios where authentication is required.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_RequestHeaders_System_Object_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.RequestHeaders(System.Object)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.RequestHeaders.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_RequestHeaders_System_Object_">RequestHeaders(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.RequestHeaders.html#C1_Web_Mvc_BaseODataCollectionViewService_1_RequestHeaders">RequestHeaders</a>.
Sets an object containing request headers to be used when sending or requesting data. The most typical use for this property is in scenarios where authentication is required.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_ServiceUrl_System_String_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.ServiceUrl(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.ServiceUrl.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_ServiceUrl_System_String_">ServiceUrl(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.ServiceUrl.html#C1_Web_Mvc_BaseODataCollectionViewService_1_ServiceUrl">ServiceUrl</a>.
Sets the url of the OData service.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_TableName_System_String_" data-uid="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder`3.TableName(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.BaseODataCollectionViewServiceBuilder-3.TableName.html#C1_Web_Mvc_Fluent_BaseODataCollectionViewServiceBuilder_3_TableName_System_String_">TableName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.BaseODataCollectionViewService-1.TableName.html#C1_Web_Mvc_BaseODataCollectionViewService_1_TableName">TableName</a>.
Sets the name of the table (entity) that this collection is bound to.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
