Gotcha with EDM types in ADO.NET Data Services

Astute developers might have noticed that there are a couple of differences in the Simple EDM types and how they are mapped to types in ADO.NET Data Services.

In particular, DateTimeOffset and Time properties are not available as CLR types in ADO.NET Data Services. For the time being, the DateTime type is your best bet, unless you want to get very very fancy and project out the different parts into other data types under the covers.

Comments (0)

Skip to main content