title: Automapper nested mapping
body: <p>I've read the nested mapping wiki page but it appears to not like multiple levels of nesting. I've got the following maps created and classes defined.</p>
  
  <pre><code>AutoMapper.Mapper.CreateMap&lt;Address, AddressDTO&gt;();
  AutoMapper.Mapper.CreateMap&lt;MatchCompanyRequest, MatchCompanyRequestDTO&gt;();
  
  public class MatchCompanyRequest
  {
      Address Address {get;set;}
  }
  
  public class MatchCompanyRequestDTO
  {
      public CompanyInformationDTO {get;set;}
  }
  
  public class CompanyInformationDTO {get;set;}
  {
      public string CompanyName {get;set;}
      public AddressDTO Address {get;set;}
  }
  </code></pre>
  
  <p>But the following code...</p>
  
  <pre><code>// works
  matchCompanyRequestDTO.companyInformationDTO.Address =
      AutoMapper.Mapper.Map&lt;Address, AddressDTO&gt;(matchCompanyRequest.Address);
  
  // fails
  matchCompanyRequestDTO =
      AutoMapper.Mapper
          .Map&lt;MatchCompanyRequest, MatchCompanyRequestDTO&gt;(matchCompanyRequest);
  </code></pre>
  
  <p>Does this deep nesting work and I have it configured improperly?  Or is this kind of nesting not yet supported?</p>
  
  <p>-- Edit</p>
  
  <p>For anyone interested, I am not in control of the DTOs. </p>