I was reading in a previous question on "How to use AutoMapper to map a DataRow to an object in a WCF service?" and I thought 'Great! That's what I'm looking for on mapping a table from MySQL!', yet after I got the Nuget package and tried to use that line of code like this:
List<Customer> c = AutoMapper.Mapper.DynamicMap<IDataReader, List<Customer>>(dt.CreateDataReader());
I got this exception:
'Mapper' does not contain a definition for 'DynamicMap'
After checking around on the 'net about it, I found out it's been taken out. So then how does one create a List from MySQL DB Table?