TinyMapper使用 对象映射框架

方便的进行对象转换,仅作使用笔记

https://www.cnblogs.com/arvinzhang/p/8282922.html

例子:

var result = new List<EquipmentRegistrationPart>(); 
var dbViewParts = wcfDataProxy.GetV_Equipment_Registration(Id);
result = TinyMapper.Map<List<EquipmentRegistrationPart>>(dbViewParts);

  

原文地址:https://www.cnblogs.com/NetNotes/p/13717962.html