コード例 #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);