Commit Graph

11320 Commits

Author SHA1 Message Date
智能大石头 2e82cf8cf8 优化多线程锁冲突 2024-12-03 23:20:41 +08:00
大石头 77eb603763 v11.16.2024.1202 2024-12-02 10:18:39 +08:00
大石头 91641770d3 为了提升性能,在同步调用异步时规避卡UI上下文,所有await状态机都设置ConfigureAwait(false),开启CA2007并视为编译错误 2024-11-30 22:49:18 +08:00
大石头 2d9e22b603 代码整理 2024-11-28 18:03:50 +08:00
大石头 af7b16f7aa 对象池Put改为新的Return 2024-11-28 15:19:45 +08:00
大石头 5a90283125 [fix] 统一约定,updateColumns 外部传入Name,内部再根据columns转为专用字段名 2024-11-28 15:19:31 +08:00
大石头 1c00c17ed0 部门表取消唯一索引,有些场景,部门名称并不唯一,而编码唯一 2024-11-27 15:25:20 +08:00
大石头 39ae469155 [feat]角色表新增租户字段,部分业务场景需要允许租户设置自己的角色。https://github.com/NewLifeX/NewLife.Cube/issues/97 2024-11-24 23:52:17 +08:00
大石头 30a8942080 [feat]新增代码生成插件ICodePlugin,各个团队可以根据自己需要编写插件,从而控制代码生成效果 2024-11-24 23:46:12 +08:00
大石头 198ee23cd0 Upgrade Nuget 2024-11-23 09:26:33 +08:00
黎更荣 b5fec5fe2a DaMeng自增长返回,不满足reg_SEQ,则使用Select @@Identity 2024-11-19 13:50:03 +08:00
智能大石头 b12c37a3f9 v11.16.2024.1114 升级net9 2024-11-14 08:36:55 +08:00
大石头 81cb64d4f8 Merge branch 'master' of http://git.newlifex.com/NewLife/NewLife.XCode 2024-11-13 14:01:00 +08:00
Stone 61b7d1bfb5
Merge pull request #52 from NewLifeX/Soar360-patch-1
Update EntityBuilder.cs
2024-11-12 17:43:09 +08:00
黎更荣 09d9f0978f 达梦关键字增加Path,Rows,Columns 2024-11-12 15:13:56 +08:00
智能大石头 1e144d5fc5 [feat]增加统计字段集合 StatField,方便将来做SearchGroup而准备 2024-11-12 08:21:57 +08:00
Soar360 fb80fd0b5a
Update EntityBuilder.cs
生成关联映射时,如果类型不是字符,则返回 default 而不是 0 .
2024-11-11 21:12:21 +08:00
大石头 0670b7eedc Upgrade Nuget 2024-11-08 15:28:59 +08:00
大石头 cef7d93b2a Upgrade Nuget 2024-11-03 14:03:41 +08:00
大石头 36417a7e1f Upgrade Nuget 2024-11-02 09:34:32 +08:00
大石头 f1083528e8 v11.16.2024.1101 改进pg支持,改进代码生成器。close: https://github.com/NewLifeX/NewLife.XCode/issues/43 2024-11-01 17:43:39 +08:00
大石头 0ae0952edb Merge branch 'master' of https://github.com/NewLifeX/NewLife.XCode 2024-11-01 17:35:46 +08:00
大石头 253050c96a [fix]代码生成器默认生成接口和Model类,生成Copy和ToModel。fix: https://github.com/NewLifeX/NewLife.XCode/issues/50 2024-11-01 17:35:17 +08:00
智能大石头 70862162bd 下载数据库驱动时,net8支持使用net7/net6/net5的驱动包 2024-10-29 23:05:06 +08:00
智能大石头 27c438da08 代码生成高级查询方法时,使用SearchWhereByKeys来处理关键字搜索,避免表结构改变时,这里需要手工修改搜索字段不方便 2024-10-29 22:57:35 +08:00
智能大石头 fb5f31530f 表名改变时,一定要检查架构,创建新表 2024-10-29 22:56:31 +08:00
Stone 1da795949a
Merge pull request #49 from codekgithub/master
and前增加空格,避免拼接where条件报错
2024-10-29 16:54:26 +08:00
codek 07ffb5e9fc and前增加空格,避免拼接where条件报错 2024-10-29 16:48:11 +08:00
Stone 6c86acb561
Merge pull request #48 from YNNiu623/master
[fix]修复了多租户读取和修改用户信息的bug
2024-10-27 11:04:11 +08:00
niu 610fab6bf9 [fix]修复了多租户读取和修改用户信息的bug 2024-10-26 14:14:25 +08:00
大石头 5b90edb02e 带分表策略的实体类,在CheckTable时也不要做反向工程检查 2024-10-20 12:56:16 +08:00
大石头 cfe2894b9b [fix]带有分表策略的实体类不参与反向工程 2024-10-20 12:42:29 +08:00
大石头 6c63b16880 Upgrade Nuget 2024-10-10 15:06:17 +08:00
大石头 5573382f92 Upgrade Nuget 2024-10-07 16:08:18 +08:00
大石头 279fd882ae Upgrade Nuget 2024-10-05 09:09:53 +08:00
大石头 063d027673 GetDirtyColumns返回修改为IDataColumn集合,方便使用 2024-10-04 20:30:08 +08:00
Soar360 ca854f0f59 [fix]反向工程匹配索引时,增加匹配格式化后的名称。 2024-10-04 19:56:16 +08:00
Soar360 ace5f2f00c [fet]补充 pgsql 的主键索引判定 2024-10-04 19:49:36 +08:00
Soar360 5a1a23b5a3 [fix]pgsql upsert
[fix]下划线命名时,批量操作异常。
2024-10-04 19:16:27 +08:00
大石头 55c2258e31 v11.16.2024.1004 完善对PostgreSql的支持,包括添删改查、批操作和正反向工程 2024-10-04 14:07:11 +08:00
Soar360 66539497da 修复 pgsql 的单元测试 2024-10-04 13:12:30 +08:00
Soar360 d010c7237a [fix]BatchInsert 2024-10-04 13:01:29 +08:00
大石头 bb0f141f58 批操作时的addColumns/updateColumns也要按照命名规则进行格式化 2024-10-04 11:52:50 +08:00
大石头 78a773fc39 修正DB2单元测试 2024-10-02 19:41:01 +08:00
智能大石头 6569ca6b4b 调整生产建表语句的单元测试,方便在增加字段时自动更新单元测试数据 2024-10-02 12:21:46 +08:00
智能大石头 8ee2a22027 恢复实体类数据类,尽量确保兼容旧版实体类 2024-10-02 12:07:01 +08:00
智能大石头 216e8df71a 合并 2024-10-02 11:56:42 +08:00
Soar360 07f7d3e760 pgsql 改用 ref 传参优化 FormatValue 方法 2024-09-29 13:02:31 +08:00
Soar360 669f1c2e11 优化 PostgreSQL 的 FormatValue 实现 2024-09-29 12:22:02 +08:00
Soar360 d1bc07479c DbMetaData 增加 IsArrayField 方法,判断是否数组字段。 2024-09-29 11:10:38 +08:00