随笔 - 303  文章 - 0  评论 - 11  阅读 - 15万
04 2024 档案
sqlsugar笔记
摘要:官网文档地址: 1.实体生成:https://www.donet5.com/Doc/11 使用codefist可以将db表生成对应的实体文件,同时会自动生成代码 2.codefist 程序中可以走codefist。 可以设置禁止更新和删除来保护表结构,只在第一次的时候才会创建表 支持对比结构手动更改 阅读全文
posted @ 2024-04-24 18:17 雪原日暮 阅读(26) 评论(0) 推荐(0) 编辑
时间转换c#
摘要:string time = Convert.ToDateTime(date).ToString("yyyy-MM-dd HH:mm");//24小时 string time = Convert.ToDateTime(date).ToString("yyyy-MM-dd hh:mm");//12小时 阅读全文
posted @ 2024-04-19 17:04 雪原日暮 阅读(18) 评论(0) 推荐(0) 编辑
c# .net core 将对应的语句转成dsl
摘要:痛点:遇到一个问题,代码嵌套的es查询逻辑,太乱,太复杂。通过代码直观人工去转dsl发现根本不可能。后老看到调试模式能拿到dsl,方法如下 https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/debug-mode. 阅读全文
posted @ 2024-04-19 10:25 雪原日暮 阅读(31) 评论(0) 推荐(0) 编辑
.net core iis一次cpu过高的问题处理
摘要:1.下载 DebugDiag 2.https://learn.microsoft.com/zh-cn/troubleshoot/developer/webapps/iis/health-diagnostic-performance/troubleshoot-high-cpu-in-iis-app-p 阅读全文
posted @ 2024-04-01 16:51 雪原日暮 阅读(91) 评论(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

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