As mentioned by Brendan, because DateTimeOffset
is not a supported data type in Azure Table Storage, you're getting this error. A few things you could do are:
- As you mentioned, you could use a
String
orDateTime
type property instead ofDateTimeOffset
. - Another alternative would be to do the serialization/deserialization yourself. For this you would need to override
ReadEntity
andWriteEntity
methods.