摘要:
1.引用AutoMapper包 2.定义两个实体类 public class ModelA { public string UserId { get; set; } public string Remark { get; set; } } public class ModelB { public s 阅读全文
摘要:
1.安装NLog、NLog.Config包 2.添加日志类 public class LogFactory { public static Logger log; private string filename; /// <summary> /// 日志类 /// </summary> /// <p 阅读全文