示例#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
     };
 }
 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
     };
 }