2019年11月5日
摘要: 1、WebApiTestClient组件作用主要有以下几个: (1)、将WebApi的接口放到了浏览器里面,以可视化的方式展现出来,比如我们通过http://localhost:8080/Help这个地址就能在浏览器里面看到这个服务里面所有的API接口以及接口的详细说明,省去了我们手写接口文档的麻烦 阅读全文
posted @ 2019-11-05 17:16 wxm3177 阅读(109) 评论(0) 推荐(0)
  2019年9月17日
摘要: //获取当前运行程序的目录 string fileDir = Environment.CurrentDirectory; Console.WriteLine("当前程序目录:"+fileDir); //一个文件目录 string filePath = "C:\\JiYF\\BenXH\\BenXHC 阅读全文
posted @ 2019-09-17 15:04 wxm3177 阅读(241) 评论(0) 推荐(0)
  2019年6月26日
摘要: EXEC master..xp_cmdshell 'BCP test.dbo.name out d:\t_002.txt -c -t -T' EXEC master..xp_cmdshell 'BCP "select name from test.dbo.name" queryout d:\t_00 阅读全文
posted @ 2019-06-26 15:43 wxm3177 阅读(168) 评论(0) 推荐(0)
  2019年6月10日
摘要: --每秒死锁数量 SELECT * FROM sys.dm_os_performance_counters WHERE counter_name LIKE 'Number of Deadlocksc%'; --查询当前阻塞 WITH CTE_SID ( BSID, SID, sql_handle ) 阅读全文
posted @ 2019-06-10 15:11 wxm3177 阅读(351) 评论(0) 推荐(0)
  2019年1月21日
摘要: http://www.cnblogs.com/jys509/p/4628926.html https://www.cnblogs.com/AmyLo/p/8125505.html https://blog.csdn.net/u011966339/article/details/79565831 Qu 阅读全文
posted @ 2019-01-21 15:38 wxm3177 阅读(267) 评论(0) 推荐(0)
  2019年1月14日
摘要: select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' declare @spid 阅读全文
posted @ 2019-01-14 19:12 wxm3177 阅读(859) 评论(0) 推荐(0)
  2018年12月4日
摘要: EF 查看具体的抛错详情 Validation failed for one or more entities. See 'EntityValidationErrors' property for more details. 抛错信息转换 ((System.Data.Entity.Validatio 阅读全文
posted @ 2018-12-04 21:27 wxm3177 阅读(138) 评论(0) 推荐(0)
摘要: EF 查看具体的抛错详情 Validation failed for one or more entities. See 'EntityValidationErrors' property for more details. 抛错信息转换 ((System.Data.Entity.Validatio 阅读全文
posted @ 2018-12-04 21:27 wxm3177 阅读(283) 评论(0) 推荐(0)
  2018年11月29日
摘要: 通过 Membership 生成随机数 string code = Membership.GeneratePassword(8, 0); //不要特殊字符则自己替换 code = Regex.Replace(code, "[ \\[ \\] \\^ \\-_*×――(^)$%~!@#$…&%¥—+= 阅读全文
posted @ 2018-11-29 12:04 wxm3177 阅读(288) 评论(0) 推荐(0)
  2018年11月13日
摘要: 前端jqury脚本实现流程设计,兼容目前主流浏览器 gooflow 默认属性节点只有:id,name,top,left,width,height,type (各个版本不同,属性节点有所增加),但是这些都是和流程设计器本身有关的 实现自定义属性字段: 1、在节点数据对象上加上自己的定义属性字段(我自定 阅读全文
posted @ 2018-11-13 13:38 wxm3177 阅读(1827) 评论(0) 推荐(1)