hd2y
hd2y
参考 #731 参考:https://github.com/dotnetcore/FreeSql/blob/master/FreeSql/Extensions/FreeSqlGlobalExpressionCallExtensions.cs 分区函数懵了一下,应该是指开窗函数吧:`.. over([partition by ..] order by ...)` 这种。
> 加上这个后不利于以前的基于WTM的项目兼容,升级一下就出问题了;自定义表全部以`tb_`开头也能完美做到区分 自定义应该是没问题的,新版默认为空,开发者如果需要特殊前缀,自己设置就行了。
刚在群里看到,这是要应援吗?不过 FreeSql 真的可以考虑一下,哈哈。
🎣
推荐的解决方案: ```cs public static class RedisClientExtensions { public static string GetPrefix(this RedisClient client) { return typeof(RedisClient).GetProperty("Prefix", BindingFlags.Instance | BindingFlags.NonPublic) ?.GetValue(client) as string; } } ```
看了下代码没用 `HttpClientFactory`,那就没办法灵活的注入配置了,建议还是 Fork 下来改一下再用吧。 https://github.com/zhaopeiym/quartzui/blob/d1f5d7ed85593b9f2a78fdf107eb2844e01fbdb7/QuartzNetAPI/Host/Common/HttpHelper.cs
主要是分页查询拓展了一下 Include 属性,这里是分页查询 Form 表单的一个入参示例: ```json { "filter": { "logic": "And", "filters": [ { "field": "id", "operator": "GreaterThanOrEqual", "value": 1 } ] }, "page": 1, "size": 10, "orderBy": "id", "asc":...
这是数据库问题,按说从数据库使用参数化查询能复现,可能绑定参数使用了错误的查询计划导致的,可以让DBA分析下。