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
Structs§
- A presentation of
datetime
type in the server. - A presentation of
smalldatetime
type in the server.