# ReadOnlyCustomDataSourceTransportBuilder

## Methods

### ParameterMap(System.Func)

Sets the parameterMap function.

#### Parameters

##### handler - `System.Func<Object,Object>`

#### RETURNS

A  instance for method chaining.

### ParameterMap(System.String)

Sets the parameterMap function.

#### Parameters

##### handler - `System.String`

JavaScript function name

#### RETURNS

A  instance for method chaining.

#### Example

```
 
            .DataSource(dataSource => dataSource
                .Custom()
                .Transport(transport =>
                {
                    transport.ParameterMap("parameterMap");
                })
            )
             
```

### Read(System.Action)

Configures the URL for Read operation.

#### Parameters

##### configurator - System.Action<[CustomCrudOperationBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/customcrudoperationbuilder)>

The lambda which configures the Read Action

#### RETURNS

A  instance for method chaining.

#### Example

```
 
            .DataSource(dataSource => dataSource
                .Custom()
                .Transport(transport =>
                {
                    transport.Read(read =>
                       read.Action("Read", "Grid")
                    );
                })
            )
             
```

### Read(System.String,System.String,System.Object)

Sets controller and action for Read operation.

#### Parameters

##### actionName - `System.String`

Action name

##### controllerName - `System.String`

Controller Name

##### routeValues - `System.Object`

Route values

#### RETURNS

A  instance for method chaining.

#### Example

```
 
            .DataSource(dataSource => dataSource
                .Custom()
                .Transport(transport =>
                {
                    transport.Read("Read", "Grid", new { id = ViewData["id"] });
                })
            )
             
```

### Read(System.String,System.String)

Sets controller, action and routeValues for Read operation.

#### Parameters

##### actionName - `System.String`

Action name

##### controllerName - `System.String`

Controller Name

#### RETURNS

A  instance for method chaining.

#### Example

```
 
            .DataSource(dataSource => dataSource
                .Custom()
                .Transport(transport =>
                {
                    transport.Read("Read", "Grid");
                })
            )
             
```

### Read(System.Object)

Sets the Read operation using anonymous object.

#### Parameters

##### settings - `System.Object`

### Read(System.String)

Sets the Read operation to JavaScript function or object.

#### Parameters

##### handler - `System.String`

JavaScript function name

#### RETURNS

A  instance for method chaining.

#### Example

```
 
            .DataSource(dataSource => dataSource
                .Custom()
                .Transport(transport =>
                {
                    transport.Read("readDS");
                })
            )
             
```

### Cache(System.Boolean)

Sets the transport cache.

#### Parameters

##### cache - `System.Boolean`

The boolean value for the Cache

#### RETURNS

A  instance for method chaining.

#### Example

```
 
            .DataSource(dataSource => dataSource
                .Custom()
                .Transport(transport =>
                {
                    transport.Cache(false);
                })
            )
             
```
