摘要: 1.引用AutoMapper包 2.定义两个实体类 public class ModelA { public string UserId { get; set; } public string Remark { get; set; } } public class ModelB { public s 阅读全文
posted @ 2020-07-27 12:09 Besos 阅读(863) 评论(0) 推荐(0) 编辑
摘要: 1.安装NLog、NLog.Config包 2.添加日志类 public class LogFactory { public static Logger log; private string filename; /// <summary> /// 日志类 /// </summary> /// <p 阅读全文
posted @ 2020-07-27 10:43 Besos 阅读(2936) 评论(0) 推荐(0) 编辑