tags:

views:

165

answers:

2

if object a has a property name 'Id' and object b has a property name 'ID' will AutoMapper correctly map the 2 properties (without doing a .ForMember(...) call)?

+2  A: 

No, last time I tried it (month or so ago) it was case sensitive.

Keivan
+5  A: 

The trunk version is now default case-insensitive, and supports multiple naming conventions (camelCase, lowercase_underscore, etc). Look for this in the next version of AutoMapper, which should drop in a couple of days.

Jimmy Bogard
sweet! thanks. I have been using AutoMapper with great success.
Jon Erickson