AutoMapper/AutoMapper — Issue #168: Failed to map IDataReader to an object, invalid int value
Author: rambo406
Created: 2012-01-13 07:09:51+00:00
State: open

Sample program can be found here => https://gist.github.com/1604965

This is simple program, first I created a DataTable pass some value into it.
Use AutoMapper to map the DataTable to object.

Return unexpected result, but if I change MemberId property to string instead of int, it works fine.