C # - How to make AutoMapper register invisible?

I found that the mapping is a case-sensitive mapping from IDataReader which is a junk since the database fields are lower and POCOs CamelCase .

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

Is there any magic switch?

+5
source share
2 answers

It is impossible out of the box

+1
source

I think you can control this in Mapper.Initialize, as the answer and solutions posted here seem to offer: AutoMapper: mapping between IDataReader and DTO object

: http://blog.ac-graphic.net/automapping-c-objects-from-one-naming-convention-to-an-other/

?

-1

All Articles