The above type handler can be installed into SqlMapper using the AddTypeHandler method.
SqlMapper.AddTypeHandler<IHtmlString>(new IHtmlStringTypeHandler());
Type inference allows you to omit the generic type parameter:
SqlMapper.AddTypeHandler(new IHtmlStringTypeHandler());
There's als...