I am reading the result from a MS SQL 2008 database with the dbtype.time column type from datareader using C # with a DAAB 4.0 map.
My problem is that the MSDN docs say that dbtype.time should map to a time interval, but the only closing constructor for the time period that I see is long, and the result returned from the datareader cannot be dropped to long or directly in time
I found this article that shows the datareader.getTimeSpan () method, but the datareader in daab 4.0 does not seem to have this method.
So, how do I convert the result from a datareader to a timepan object?
c # time data-access timespan
Element
source share