-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V4.0_WD01
-
Fix Version/s: V4.0_WD01
-
Component/s: CSDL XML, URL Conventions
-
Labels:None
-
Environment:
[Proposed]
-
Proposal:
-
Resolution:
The addition of Edm.Date to the OData primitive data types might be considered.
Date values are widely used. SQL supports the DATE data type. XML Schema supports the xs:date data type.
Example:
<ComplexType Name="DeliveryFormatAvailability">
<Property Name="Available" Type="Edm.Boolean" Nullable="false" />
<Property Name="AvailableFrom" Type="Edm.Date" Nullable="true" />
<Property Name="AvailableTo" Type="Edm.Date" Nullable="true" />
<Property Name="Rating" Type="Edm.String" Nullable="true" MaxLength="Max" Unicode="true" FixedLength="false" />
<Property Name="Runtime" Type="Edm.Int32" Nullable="true" />
</ComplexType>