Dapper.Contrib icon indicating copy to clipboard operation
Dapper.Contrib copied to clipboard

Extending it with IColumnNameFormatter

Open efaruk opened this issue 4 years ago • 2 comments
trafficstars

Just a little suggestion...

efaruk avatar Jul 04 '21 11:07 efaruk

I've not seen any need for this I think. Do you have a use case for it? :)

johandanforth avatar Jan 22 '22 08:01 johandanforth

We currently rely on this pull request to be merged @johandanforth . We're trying to implement support for multiple database types within our project, and whenever we use postgresql which relies on lowercase column names, the InsertAsync method fails because it expects the column names to be the same as the properties within the database model class. Having the possibility to choose the format of the column name would help us a lot!

AtomicLiquid avatar Dec 31 '22 11:12 AtomicLiquid