Automapper : mapping issue with inheritance and abstract base class on collections with Entity Framework 4 Proxy Pocos
This answer comes ‘a bit’ late as I’ve just faced the same issue with EF4 POCO proxies. I solved it using a custom converter that calls Mapper.DynamicMap<TDestination>(object source) to invoke the runtime type conversion, rather than the .Include<TOtherSource, TOtherDestinatio>(). It works fine for me. In your case you would define the following converter: class PaymentConverter … Read more