随笔 - 44  文章 - 1  评论 - 3  阅读 - 47752
  2020年7月18日
摘要: using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.SqlClient; using System.Reflection; usi 阅读全文
posted @ 2020-07-18 14:26 程铭 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 首先添加NuGet包 然后添加一个服务类 public class AutoMap:Profile { public AutoMap() { CreateMap<A, B>(); CreateMap<B, A>() .ForMember(des => des.Age, opt => opt.MapF 阅读全文
posted @ 2020-07-18 14:20 程铭 阅读(210) 评论(0) 推荐(0) 编辑
摘要: using (HttpClient httpClient = new HttpClient()) { HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, URL); request.Content = new St 阅读全文
posted @ 2020-07-18 13:36 程铭 阅读(238) 评论(0) 推荐(0) 编辑
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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