示例#1
0
    public BuyerDeal Map(BuyerDealDTO buyerDealDTO, BuyerDeal buyerDealEntity)
    {
        // perform base class logic here
        var entity = this.MapInternal(buyerDealDTO, buyerDealEntity);

        return(entity);
    }
示例#2
0
 protected override BuyerDeal MapInternal(BuyerDealDTO buyerDealDTO, BuyerDeal buyerDealEntity)
 {
     buyerDealEntity.prop1 = buyerDealDTO.prop2;
     return(buyerDealEntity);
 }
示例#3
0
 protected abstract BuyerDeal MapInternal(BuyerDealDTO buyerDealDTO, BuyerDeal buyerDealEntity);