Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# - How to make AutoMapper case insensitive?

I found that the mapping is a case sensitive mapping from IDataReader which is a bummer as the database fields are all lower case and the POCOs are CamelCase.

I found this post by Jimmy, Is AutoMapper case sensitive or insensitive?...

Is there a magic switch somewhere?

like image 531
Kumar Avatar asked Nov 25 '22 03:11

Kumar


1 Answers

It's not possible out of the box

like image 79
Kumar Avatar answered Feb 26 '23 17:02

Kumar