Implementing and testing mapping code with AutoMapper
I was thinking some months ago that it would be great to have a property mapper that eliminates tedious mapping code . I'm very happy that Jimmy Bogard and his team just have published a framework called AutoMapper that resolves that issue. I haven't tested it yet but the idea looks promising.
Why would I use AutoMapper?
In order to implement better encapsulation and layering with less amount of coding
In order to unit-test mapping code using a simple 'Mapper.AssertConfigurationIsValid()'