摘要: public static T MapTo<T>(this object obj) { if (obj == null) return default(T); Mapper.CreateMap(obj.GetType(), typeof(T)); return Mapper.Map<T>(obj); 阅读全文
posted @ 2018-01-16 14:13 Chavez.net 阅读(164) 评论(0) 推荐(0) 编辑