Ejemplo n.º 1
0
 public InsuranceInfo Map(InsuranceMutualFund insuranceMutualFund)
 {
     return Mapper<InsuranceMutualFund, InsuranceInfo>.Map(insuranceMutualFund)
                                                         .With(imf => imf.MutualFundNumber, (insuranceInfo, mutualFundNumber) => insuranceInfo.MembershipNo = mutualFundNumber)
                                                         .With(imf => imf.TaxNo, (insuranceInfo, taxNo) => insuranceInfo.TaxNumber= taxNo)
                                                      .Exec();
 }
Ejemplo n.º 2
0
 public InsuranceInfo Map(InsuranceMutualFund insuranceMutualFund)
 {
     return(Mapper <InsuranceMutualFund, InsuranceInfo> .Map(insuranceMutualFund)
            .With(imf => imf.MutualFundNumber, (insuranceInfo, mutualFundNumber) => insuranceInfo.MembershipNo = mutualFundNumber)
            .With(imf => imf.TaxNo, (insuranceInfo, taxNo) => insuranceInfo.TaxNumber = taxNo)
            .Exec());
 }