AutoMapper 3.1.1 and Entity Framework 6.1 Proxy objects
问题 I realized this has been asked already, but the solutions I've read don't seem to make a difference so far. I'm using Entity Framework 6.1 and AutoMapper 3.1.1. Taking the following objects: Company and CompanyListItem ; I try this: Mapper.Configure<Company, CompanyListItem>(); Well, when I try to do the actual mapping it crashed and burned with an exception that there's no mappings defined. I know this is caused because of the proxy objects created by Entity Framework. One solutions I've