【发布时间】:2012-09-19 20:55:30
【问题描述】:
我遇到了 SQL 中时间数据类型的问题。我正在使用此处描述的 TimespanConverter http://blogs.msdn.com/b/carlosfigueira/archive/2012/08/30/supporting-arbitrary-types-in-azure-mobile-services-managed-client-simple-types.aspx,它可以很好地插入数据,但是在检索它时会返回通用格式的 DateTime(没有正确位置的时间)。例如,“14:45:00”的时间将返回“0013-12-31T00:00:00.000Z”,而在“09:00:00”之前的时间将返回 null。
还有其他人面临同样的问题吗?
提前致谢!
【问题讨论】:
标签: json azure windows-runtime azure-mobile-services