Isolated Storage?

Apr 9, 2013 at 12:09 AM
I had just started working on my own sync framework client for WinRT when I came across this one. I'm delighted to have found it! I'm sure it will save me a LOT of time! Thank-you very much!

Unfortunately one of the first things I ran into was a limitation: "TimeSpan" doesn't appear to be supported. Fortunately, you've provided the source and I was able to add a couple of lines that appear to make it work. This is relatively untested, but... in Orm.SqlType (roughly line 1623 of the SQLite.cs source I got), I added the following:
else if (clrType == typeof(TimeSpan))
{
    return "time";
}
Thanks again!
Brad.
Coordinator
Apr 11, 2013 at 10:22 AM
Thank you very much
I dont have check all the SQL / CLR Types.
I will add TimeSpan in the next release.
You ll find the DateTimeOffset support too.

Again thank you very much for this tips :)

Sébastien
May 17 at 4:31 PM
I am running into the same problem. Looks forward to the update. :)
Coordinator
May 19 at 9:28 AM
Hi ronfrick, hi Brad

What SQL Type do you use in your server database to represent your TimeSpan ?

Sebastien
May 19 at 2:04 PM
The type on the server is time(7) and the data looks like this. 07:30:00.0000000. Thanks again,

Ron
Coordinator
May 19 at 5:41 PM
Ok I ve made an update to support TimeSpan :)
I will publish the update as soon as possible !

Sébastien
May 19 at 5:59 PM
That is awesome. Thank you very much.
Coordinator
May 21 at 1:27 PM
The package is updated
https://www.nuget.org/packages/SyncClient.SQLite/3.8.4.3
You will find the timespan support, and somme minors bug fixes
The source code repository is up to date too

Sebastien
Marked as answer by Mimetis on 5/21/2014 at 5:28 AM