Ejemplo n.º 1
0
 public void Map()
 {
     var destination = new ModelDto
     {
         BaseDate                   = _source.BaseDate,
         Sub2ProperName             = _source.Sub2.ProperName,
         SubProperName              = _source.Sub.ProperName,
         SubSubSubIAmACoolProperty  = _source.Sub.SubSub.IAmACoolProperty,
         SubWithExtraNameProperName = _source.SubWithExtraName.ProperName
     };
 }
Ejemplo n.º 2
0
 public void Map()
 {
     var destination = new ModelDto
     {
         BaseDate = _source.BaseDate,
         Sub2ProperName = _source.Sub2.ProperName,
         SubProperName = _source.Sub.ProperName,
         SubSubSubIAmACoolProperty = _source.Sub.SubSub.IAmACoolProperty,
         SubWithExtraNameProperName = _source.SubWithExtraName.ProperName
     };
 }