AutoMapper / AutoMapper.Data

For ADO.NET extensions to AutoMapper, IDataReader support etc
MIT License
136 stars 48 forks source link

SourceNamingConvention and DestinationNamingConvention does not work. #76

Closed Nizio-Dev closed 6 days ago

Nizio-Dev commented 1 week ago

In my case I have Snowflake ADO.NET DataReader, which implements IDataReader.

My destination DTO contains property "SourceId". Reader contains column "source_id".

Setting SourceNamingConvention to LowerUnderscore convention doesn't work. AutoMapper.Data still tries to read "SourceId".

Nizio-Dev commented 1 week ago

71 This is related to this. I don't know why the previous issue was closed

lbargaoanu commented 6 days ago

A PR is welcome.