09 2018 档案

摘要:public class ActionFilter : ActionFilterAttribute { /// <summary> 最后需要在Global中配置 config.Filters.Add(new ActionFilter()); 阅读全文
posted @ 2018-09-28 12:35 爱坐枫林晚 阅读(1060) 评论(0) 推荐(0) 编辑
摘要:需要引用AutoMapper的Nuget包 如果需要忽略某个字段就在字段上面打标签如下: [IgnoreMap] public string IgnoreValue { get; set; } 阅读全文
posted @ 2018-09-11 19:09 爱坐枫林晚 阅读(1084) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示