Expand description
Date and time handling.
When using the tds73
feature flag together with SQL Server 2008 or later,
the following time
mappings to and from the database are available:
Time
->Time
Date
->Date
DateTime
->PrimitiveDateTime
DateTime2
->PrimitiveDateTime
SmallDateTime
->PrimitiveDateTime
DateTimeOffset
->OffsetDateTime
With SQL Server 2005 and the tds73
feature flag disabled, the mapping is
different:
DateTime
->PrimitiveDateTime
SmallDateTime
->PrimitiveDateTime
Modules
chrono
chrono
Mappings between TDS and and Chrono types (with chrono
feature flag
enabled).
time
time
Mappings between TDS and and time crate types (with time
feature flag
enabled).
Structs
Date
tds73
A presentation of date
type in the server.
A presentation of datetime
type in the server.
DateTime2
tds73
A presentation of datetime2
type in the server.
DateTimeOffset
tds73
A presentation of datetimeoffset
type in the server.
A presentation of smalldatetime
type in the server.
Time
tds73
A presentation of time
type in the server.