Jaa


PrimitivePropertyConfigurationExtensions.AsDate Method

Definition

If this primitive property is DateTime, this method will make the target Edm type kind as Date

public static Microsoft.AspNet.OData.Builder.PrimitivePropertyConfiguration AsDate (this Microsoft.AspNet.OData.Builder.PrimitivePropertyConfiguration property);
static member AsDate : Microsoft.AspNet.OData.Builder.PrimitivePropertyConfiguration -> Microsoft.AspNet.OData.Builder.PrimitivePropertyConfiguration
<Extension()>
Public Function AsDate (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