DTO实体映射器开发

当前主要的实体映射器automapper,另外还有TinyMapper。

automapper比较强大,但是需要配置。适合大型程序。TinyMapper有一定便捷还是不错的。

为了自己项目方便,自己定义一个最基本的。可以设置属性,字段间的转换,把转换分成了几种方式。

项目很很小,只有几个类,可以简单随便改,满足自己开放需求就好。项目名称:fastmapperemit.

.NET Standard 2.0 开发。

项目地址:https://github.com/jinyuttt/FastMapperEmit.git

nuget:FastMapperEmit

原文地址:https://www.cnblogs.com/jinyu20180311/p/12629028.html