Let's go
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 54 下一页
摘要: 1、安装 QRCode组建。在项目上通过NuGet包管理器来安装,搜索名称:ThoughtWorks.QRCode 2、在代码中添加引用:using ThoughtWorks.QRCode.Codec; 3、编码生成 private void CreateImage() { string guid 阅读全文
posted @ 2020-10-20 10:24 chenze 阅读(1347) 评论(0) 推荐(0) 编辑
摘要: 我们都知道ORM全称叫做Object Relationship Mapper,也就是可以用object来map我们的db,而且市面上的orm框架有很多,其中有一个框架 叫做dapper,而且被称为the king of ORM。 一:为什么选择Dapper 1. 性能优越: 其实在各大网站上,我们大 阅读全文
posted @ 2020-10-19 16:47 chenze 阅读(1046) 评论(0) 推荐(0) 编辑
摘要: 1、打开SqlSever,选择【工具】选择卡 > sqlserver profiler 2、点击【事件选择】选项卡,进行勾选需要跟踪的事件 3、点击【列筛选器】,这儿可以设置数据库的标识ID;查询语句: select DB_ID('数据库名称') 4、然后刷新系统,这儿则可以开始根据sql语句等操作 阅读全文
posted @ 2020-10-15 10:48 chenze 阅读(2252) 评论(0) 推荐(0) 编辑
摘要: 1.BeginInvoke来实现异步 Action action = new Action(delegate () { try { //这儿执行操作 } catch (Exception ex) { } }); action.BeginInvoke(null, null); 2.使用线程 HttpC 阅读全文
posted @ 2020-10-06 10:00 chenze 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1. List<string> planIDList = new List<string>(); planIDList.Add(strPlanid); planIDList = planIDList.Distinct().ToList();//去重 2. 常用树形结构数据处理 public List 阅读全文
posted @ 2020-09-13 12:08 chenze 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 54 下一页
有事您Q我