I have a DTO I want to map to an entity. The entity has some properties decorated with the `MaxLength` attribute.

I would like AutoMapper to truncate all the strings coming from the DTO when mapping to my entity according to the `MaxLength` for each property, so that I don't get validation errors when saving the entity.

So, if entity is defined like this:

```
public class Entity 
{
    [MaxLength(10)]
    string Name { get; set; }
}

```

I would like that doing this: 

```
var myDto = new MyDto() { Name = "1231321312312312312312" };
var entity = Mapper.Map<Entity>(myDto);

```

The resulting `entity` should have its `Name` limited to a maximum of 10 characters.