Dapper-NodaTime
Dapper-NodaTime copied to clipboard
Noda Time support for Dapper
Dapper-NodaTime 
Noda Time support for Dapper
PM> Install-Package Dapper-NodaTime
In your project startup sequence somewhere, call:
DapperNodaTimeSetup.Register();
That registers all of the type handlers. Alternatively, you can register each type handler separately if you wish. For example:
SqlMapper.AddTypeHandler(LocalDateTimeHandler.Default);
Work in progress. Currently supports the following types:
- Instant
- LocalDateTime
- LocalDate
- LocalTime
- OffsetDateTime
Does not yet support:
- Duration
- Period
- Offset
- ZonedDateTime
- DateTimeZone
See also: https://github.com/StackExchange/dapper-dot-net/issues/198