AutoMapper/AutoMapper — Issue #164: Use of Expression.Invoke within create map expressions fails for Linq to Entities.
Author: Sleepyhead
Created: 2011-12-22 16:13:00+00:00
State: open

When using Automapper's .Project().To with EF Entities that contain navigation properties, the following exception occurs:

{"The LINQ expression node type 'Invoke' is not supported in LINQ to Entities."}

Now I'm sure that EF is not on at the top of the priority list of things to support, but maybe if there were a way to just change the CreateMapExpression to do something like the following:
http://blogs.msdn.com/b/meek/archive/2008/05/02/linq-to-entities-combining-predicates.aspx