I have tried to retrieve some data from my sql server database in a time interval. I got a field in database of DateTime2(7) and in my DAO I got Datetime as type of that field. But I get the following error: Conversion failed when converting date and/or time from character string.
Get Ormlite source and step through. Fastest way to see whats going on and if there is a problem you can fix it fast.
https://github.com/ServiceStack/ServiceStack.OrmLite
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With