I experimented with Dapper and Dapper.Contrib. I have the following class:
public class Customer
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public DateTime DateOfBirth { get; set; }
public bool Active { get; set; }
}
It is beeing mapped to the table "Customers
" which is pluralized. Is there a simple way to make Dapper use singular table names for all tables?