Lars Vågenes

Results 2 comments of Lars Vågenes

For those who are looking for a workaround: make your own type handler. Add the following to your configuration: `SqlMapper.AddTypeHandler(new SqlTimeOnlyTypeHandler());` ``` public class SqlTimeOnlyTypeHandler : SqlMapper.TypeHandler { public override...

``` c# SqlMapper.AddTypeHandler(new DateOnlyTypeHandler()); SqlMapper.AddTypeHandler(new TimeOnlyTypeHandler()); ``` I've got them in my container config, where they are registered at startup.