In my project I'm using a custom SqlMapper to map my Db columns in dapper, but when I setup Dapper to user my custom type mapper by doing:
Dapper.SqlMapper.SetTypeMap(typeof(User), new UserMapper());
DapperExtension is no more able to Map my User class so that when I do:
User item = cn.Get<User>(id);
The item contains only default values.
My UserMapper does not interfere with ClassMapper implementation from DapperExtensions and it only implements SqlMapper.ITypeMap
Do you think it overwrites, in any manner, the DapperExtensions functionality? Thank you for your help