[]
        
(Showing Draft Content)

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

InferDataTypes Method

InferDataTypes(bool)

Configurates InferDataTypes. Sets a value that determines whether fields that contain strings that look like standard date representations should be converted to dates automatically.

Declaration
public TBuilder InferDataTypes(bool value)
Parameters
Type Name Description
bool value

The value.

Returns
Type Description
TBuilder

Current builder.

Remarks

This property is set to true by default, because the BaseODataCollectionViewService<T> class uses JSON and that format does not support Date objects.