AutoMapper/AutoMapper — pull request #247 by tonithenhausen (2012-09-24 07:04:48+00:00)
Title: Support Entity Framework in CreateMapExpression

Hello,

I have made changes to enhance the support for building queries that translate to SQL using the Entity Framework.

- Allow nested queries that can be mapped to SQL.
- Added support for mapping to Arrays using CreateMapExpression.
- Created Unit Test cases for Linq Expressions.

```c#
Mapper.CreateMap()
.ForMember(m => m.SubEntityNames, o => o.MapFrom(f => f.SubEntities.Select(e => e.Name)));

var expression = Mapper.CreateMapExpression();
```