1033 Commits

Author SHA1 Message Date
28810
db7fe82403 - 移除 IUpdate/IDelete WhereExists 方法; 2019-10-30 18:00:13 +08:00
28810
687db9ed71 ## v0.11.3 2019-10-29 09:57:21 +08:00
28810
97351a4e6e - 优化 Aop.AuditValue 审计过的值,IUpdate.UpdateColumns 即使不指定该列也会更新; 2019-10-29 09:55:54 +08:00
28810
f7633e9f67 - 增加 FreeSql.DbContext DbSet Remove 可根据 lambda 条件删除数据的方法; 2019-10-26 11:11:05 +08:00
28810
06fba16b4a update functions png 2019-10-24 02:29:49 +08:00
28810
3338c5806e update 2019-10-24 02:27:27 +08:00
28810
96893cbcd1 update 2019-10-24 02:26:48 +08:00
28810
23f60732e0 ## v0.11.2 2019-10-24 02:19:03 +08:00
28810
b97156b482 - 增加 IFreeSql.GlobalFilter 全局过滤器;
- 移除 TableAttribute.SelectFilter 功能;
2019-10-24 02:17:22 +08:00
28810
5b0b678c27 - 修改 MySql/SqlServer CodeFirst 同步结构 bug;
当表已存在后增加自增列时,产生的脚本不应该包含默认认设置
2019-10-23 21:05:50 +08:00
28810
6f4262751b ## v0.11.1 2019-10-23 12:51:51 +08:00
28810
cb55f51413 - 优化 FreeSql.DbContext 构造方法,方便注入使用; 2019-10-23 12:32:47 +08:00
28810
aaed0334b8 ## v0.10.15 (.Net Framework 4.0) 2019-10-21 15:21:26 +08:00
28810
de8cf9e17d - 增加 .Net Framework 4.0 的支持,出于环境考虑 .Net Framework 4.0 不支持异步方法;
- 增加 IFreeSql.Insert<T>(IEnumerable<T1> source) 方法;
2019-10-21 15:14:18 +08:00
28810
cb3e3b02ef update functions.png 2019-10-16 20:51:52 +08:00
28810
635245d3cd v0.10.14 2019-10-16 15:04:47 +08:00
28810
46f290ca2b - 优化 FreeSqlBuilder 处理 MaxLength 特性的容器处理; 2019-10-16 15:03:30 +08:00
28810
d7877924a5 - 调整 DbContext.EntityChangeInfo 类名为 DbContext.EntityChangeReport.ChangeInfo;
- 调整 IUnitOfWork 接口,移除 OnEntityChange 属性,增加 EntityChangeReport 属性;
2019-10-15 19:18:31 +08:00
28810
375ba5f3cb ## v0.10.13 2019-10-14 13:45:08 +08:00
28810
615023f012 - 修复 postgresql 12 移除 pg_attrdef.adsrc 列,导致 CodeFirst 方法失败的 bug;
- 增加 Aop.ConfigEntity 属性 ModifyIndexResult 现实 IndexAttribute 的设置;
2019-10-14 13:21:47 +08:00
28810
0485a22a5c 0.10.12 2019-10-12 01:05:51 +08:00
28810
e823f9dcd0 - 增加 FreeSql.DbContext 实体对象的变化事件;
> 文档:https://github.com/2881099/FreeSql/wiki/DbContext#%E5%AE%9E%E4%BD%93%E5%8F%98%E5%8C%96%E4%BA%8B%E4%BB%B6
- 补充 Aop.CurdBefore 事件参数 Table 实体类型的元数据;
2019-10-12 01:02:42 +08:00
28810
9a8d51da50 v0.10.11 #107 2019-10-09 22:26:42 +08:00
28810
c2ec5a34b1 - 优化 ORACLE Command 绑定变量 BindByName = true;#107 2019-10-09 17:23:19 +08:00
28810
741c558d91 - 续上优化 Enum 默认值容错 2019-10-09 16:58:33 +08:00
28810
1f2d4abdc7 - 优化 枚举属性的默认值容错,枚举下标不存在 0 的时候,mysql 迁移结构默认值报错; 2019-10-09 16:56:24 +08:00
28810
236d03f98c v0.10.10 2019-10-09 01:09:19 +08:00
28810
00147be176 - 修复 PostgreSQL DbFirst 获取字段类型的时候,没有拼得字符串的长度(如 varchar(255)); 2019-10-09 01:07:46 +08:00
28810
731518c023 v0.10.9 2019-10-09 00:13:16 +08:00
28810
47b8cd6d9a - 修复 DbFirst 当表数量过大时(如 oracle 表数量大于 1000),可能报错的 bug; 2019-10-08 23:58:10 +08:00
28810
dde6562ef8 v0.10.8 #105 #106 2019-10-08 15:45:32 +08:00
28810
cf0dfae545 - 修复 FreeSql.DbContext/FreeSql.Repository 当主键为 Guid? 可空类型时,发生参数错误;#105 #106
> System.ArgumentException:“Expression of type 'System.Guid' cannot be used for assignment to type 'System.Nullable`1[System.Guid]'”
2019-10-08 15:43:34 +08:00
28810
fa48170041 代码类文件移动(不影响功能) 2019-10-08 00:43:03 +08:00
28810
53d4332bc5 - 增加 List\<T1\> 扩展方法 IncludeMany,实现从已知的内存 List 数据,进行和 ISelect.IncludeMany 相同功能的贪婪加载; 2019-10-07 21:14:18 +08:00
28810
2b72c849d9 v0.10.7, - 调整 Insert<T1>(IEnumerable<T1> source) 参数类型改成了 List; 2019-10-06 12:32:32 +08:00
28810
78fded3f8e - 增加 IndexAttribute 特性,自动迁移索引,以及对应的 FluentApi 方法;
- 移除 ColumnAttribute.Unique 属性设置,改为 IndexAttribute 特性设置唯一键;
2019-10-03 04:31:04 +08:00
28810
cb18b74830 v0.10.6 2019-09-29 19:11:58 +08:00
28810
5a8188739c - 优化 DbContext/Repository ManyToMany联级保存功能,当是新增数据时不查询中间表记录对比差异(直接插入); 2019-09-29 19:06:31 +08:00
28810
da24b9f8e4 v0.10.5 2019-09-29 15:54:55 +08:00
28810
33cb3e2dae - 增加 DbContext/Repository ManyToMany联级保存功能(之前已支持OneToMany); 2019-09-29 15:02:08 +08:00
28810
7514000490 更新错误的命名 #103 2019-09-27 12:43:43 +08:00
28810
e46ec8742e v0.10.4 #99 2019-09-26 15:47:42 +08:00
28810
6ca226a8e4 - 增加 ColumnAttribute 可插入(CanInsert)、可更新(CanUpdate);#99 2019-09-26 15:45:40 +08:00
28810
d4c766e0b6 v0.10.3 #96 2019-09-26 12:34:08 +08:00
28810
c747d39db8 - 增加 NavigateAttribute 特性对应的 Fluent 功能;#96 2019-09-26 11:51:50 +08:00
28810
31a42e750e update nuget packages version 2019-09-26 08:03:07 +08:00
28810
574b3242c1 v0.10.2 2019-09-24 21:58:14 +08:00
28810
0a3e173662 - 修复 Pgsql string[] 属性表达式 Contains 缺少类型转换的 SQL 语法错误; 2019-09-24 21:54:43 +08:00
28810
bd83f67b7b v0.10.1 2019-09-23 22:03:12 +08:00
28810
5acf0b9eb4 - 优化 IUpdate.IgnoreColumns/UpdateColumns 可对属性名,或字段名做设置;#95 2019-09-23 21:58:30 +08:00