If you are looking at DAP043, then most probably you wanted to use [Column]
attribute to override the name of the type member.
However, due to historical reasons you need to add a “marker attribute” [UseColumnAttribute]
to explicitly let Dapper know you want to override the type member’s name.
Bad:
class MyType
{
[Column("MyOtherName")]
public int MyThisName { get; set; }
}
Good:
class MyType
{
[UseColumnAttribute]
[Column("MyOtherName")]
public int MyThisName { get; set; }
}