Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Reading DateTime from SQLite stored as unixepoch integer

$
0
0
Hi Lars,

unfortunately, there is no easy option at the moment. In principle it is possible to write a custom AdoTypeConverter that performs the needed steps, but this is certainly not trivial to do. We might think of incorporating such a converter at a later point in time...
I think the best way to go at the moment is to use an integer field for that column and provide a DateTime property that just wraps it. As you already figured out....

Regards,
Thomas
Telerik
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.

Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>