Is there a way with dapper-dot-net to use an attribute to specify column names that should be used and not the property name?
public class Code { public int
If you are using a select statement directly or in a procedure you can just alias the columns.
SELECT code as Value FROM yourTable