Jaa


PrimitivePropertyConfigurationExtensions.AsTimeOfDay Method

Definition

If this primitive property is TimeSpan, this method will make the target Edm type kind as TimeOfDay

public static Microsoft.AspNet.OData.Builder.PrimitivePropertyConfiguration AsTimeOfDay (this Microsoft.AspNet.OData.Builder.PrimitivePropertyConfiguration property);
static member AsTimeOfDay : Microsoft.AspNet.OData.Builder.PrimitivePropertyConfiguration -> Microsoft.AspNet.OData.Builder.PrimitivePropertyConfiguration
<Extension()>
Public Function AsTimeOfDay (property As PrimitivePropertyConfiguration) As PrimitivePropertyConfiguration

Parameters

property
PrimitivePropertyConfiguration

Reference to the calling primitive property configuration.

Returns

Returns itself so that multiple calls can be chained.

Applies to