Ian Battersby - 155 - Jan 16, 2014

Hi All,

Be interested to hear from fellow OrmLite users if they have tackled any TimeSpan issues with MS-SQL? I posted a question on StackOverflow that gives some detail. Seems to work fine with our VistaDB development-workflow abstract dialect (precision 5 vs 7 tho). 

http://stackoverflow.com/questions/21120651/servicestack-ormlite-failed-to-convert-parameter-value-from-a-timespan-to-a-dat

Yeah TimeSpan is not properly supported, it doesn’t have a good SQL data type that’s universally supported, I might need to coerce it into ticks or something.

Can you create a new issue to add TimeSpan support to OrmLite at:  https://github.com/ServiceStack/issues
So we can keep track of it and get notified of updates.