This might be a stupid question! (n00b to AutoMapper and time-short!)
I want to use AutoMapper to map from EF4 entities to ViewModel classes.
1) If I call
I've used an extension method do mapping both ways
public static IMappingExpression BothWays (this IMappingExpression mappingExpression) { return Mapper.CreateMap(); }
usage:
CreateMap().BothWays();