Before anyone closes this as a duplicate, I am aware that Azure Table Storage doesn't support the DateTimeOffset
type natively (MSDN states as much; trying to read and write entities having DateTimeOffset
properties doesn't throw an exception, but doesn't maintain the correct timestamps either).
My question is why isn't this data type supported, particularly as it already existed when Azure was created. What's even more confusing is that the .NET API for Azure Table Storage seems to offer support for the data type: entities get converted into a dictionary of EntityProperty
values, and the EntityProperty
class has both a DateTimeOffsetValue
property and a constructor that takes a value of that type. Seems odd that they would add this support in the API if the Azure side of things doesn't support the type anyway.