New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Configures transport read and discovery requests and their connection values.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PivotDataSourceTransportBuilder

Inheritance: objectPivotDataSourceTransportBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a transport builder for the current view.

C#
public PivotDataSourceTransportBuilder(PivotTransport transport, ViewContext viewContext, IUrlGenerator urlGenerator)
Parameters:transportPivotTransportviewContextViewContexturlGeneratorIUrlGenerator

Fields

The transport being configured.

C#
protected readonly PivotTransport transport

The URL generator used for MVC endpoints.

C#
protected readonly IUrlGenerator urlGenerator

The current view context used to generate MVC endpoint URLs.

C#
protected readonly ViewContext viewContext

Methods

Configures the catalog and cube connection values sent with pivot requests.

C#
public PivotDataSourceTransportBuilder Connection(Action<PivotDataSourceTransportConnectionBuilder> configurator)
Parameters:configuratorAction<PivotDataSourceTransportConnectionBuilder>

Configures the transport connection.

Returns:

PivotDataSourceTransportBuilder

The PivotDataSourceTransportBuilder object to support method chaining.

Configures the schema-discovery request with CRUD operation settings.

C#
public PivotDataSourceTransportBuilder Discover(Action<CustomCrudOperationBuilder> configurator)
Parameters:configuratorAction<CustomCrudOperationBuilder>

Configures the discovery request.

Returns:

PivotDataSourceTransportBuilder

The PivotDataSourceTransportBuilder object to support method chaining.

Configures the read request with CRUD operation settings.

C#
public PivotDataSourceTransportBuilder Read(Action<CustomCrudOperationBuilder> configurator)
Parameters:configuratorAction<CustomCrudOperationBuilder>

Configures the read request.

Returns:

PivotDataSourceTransportBuilder

The PivotDataSourceTransportBuilder object to support method chaining.

Sets the URL used to read pivot data.

C#
public PivotDataSourceTransportBuilder Read(string url)
Parameters:urlstring

The read endpoint URL.

Returns:

PivotDataSourceTransportBuilder

The PivotDataSourceTransportBuilder object to support method chaining.