[]
        
(Showing Draft Content)

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

DataTypes Method

DataTypes(IDictionary<string, DataType>)

Configurates DataTypes. Sets an object to be used as a map for coercing data types when loading the data.

Declaration
public TBuilder DataTypes(IDictionary<string, DataType> value)
Parameters
Type Name Description
IDictionary<string, DataType> value

The value.

Returns
Type Description
TBuilder

Current builder.

Remarks

The object keys represent the field names and the values are DataType values that indicate how the data should be coerced.