04 2022 档案
摘要:背景: 工作中遇到这种排序场景,就不能单一使用System.Linq.Enumerable 中的扩展方法 OrderBy,OrderByDescending 排序方式了。 实现该需求有不同的方式 记录一下: 测试代码: public class Student { public string Nam
阅读全文
摘要:使用Hangfire 作为任务调度程序,当任务执行太耗时 需要做一些配置,记录一下。。。。 使用Sql Server 数据库时: var HangfireTest_ConnectionString = ConfigHelper.GetConn("HangfireTest").ConnectionSt
阅读全文