2012-09-10 59 views
0

我遇到了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。Windows Azure移动服务时间(mssql)JSON序列化错误

其他人是否面临同样的问题?

在此先感谢!

(这里还张贴:http://social.msdn.microsoft.com/Forums/en-US/azuremobile/thread/5110ed4b-7912-49d9-9e6c-9acd9277d52b

回答