AutoMapper
文章平均质量分 90
智慧方
这个作者很懒,什么都没留下…
展开
-
Dto转换实体类及AutoMapper的使用(1)
Class1: Class2: 主程序: using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using AutoMapper; namespace C...原创 2018-10-11 11:52:36 · 2763 阅读 · 0 评论 -
EF+Mapper结合使用实现Dto到实体类再到数据的(框架模型基础实现)
结合博客:https://www.cnblogs.com/gosky/p/5751815.html 实例源码:https://download.csdn.net/download/weixin_42401291/10747594 1.先配置数据库: App.config添加代码: <connectionStrings> <add name="DEMO" conne...原创 2018-10-27 12:00:57 · 1581 阅读 · 0 评论