28810
330eb40285
## v0.11.18
2019-11-16 04:13:07 +08:00
28810
e26dbfe526
- 增加 DbContext、Repository SaveManyToMany 方法,实现手工保存 ManyToMany 关联数据;
2019-11-16 01:47:04 +08:00
28810
7d1f9b126f
debug Destructor #131
2019-11-15 13:25:14 +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
de8cf9e17d
- 增加 .Net Framework 4.0 的支持,出于环境考虑 .Net Framework 4.0 不支持异步方法;
...
- 增加 IFreeSql.Insert<T>(IEnumerable<T1> source) 方法;
2019-10-21 15:14:18 +08:00
28810
d7877924a5
- 调整 DbContext.EntityChangeInfo 类名为 DbContext.EntityChangeReport.ChangeInfo;
...
- 调整 IUnitOfWork 接口,移除 OnEntityChange 属性,增加 EntityChangeReport 属性;
2019-10-15 19:18:31 +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
5a8188739c
- 优化 DbContext/Repository ManyToMany联级保存功能,当是新增数据时不查询中间表记录对比差异(直接插入);
2019-09-29 19:06:31 +08:00
28810
33cb3e2dae
- 增加 DbContext/Repository ManyToMany联级保存功能(之前已支持OneToMany);
2019-09-29 15:02:08 +08:00
28810
dcf1da36d4
## v0.9.18
...
- 增加 PostgreSQL 的 Odbc 访问提供,相比 FreeSql.Provider.PostgreSQL 支持的类型更少;
- 增加 通用的 Odbc 访问提供,不能迁移实体到数据库,不能 Skip 这样来分页,理论上能 crud 所有 odbc 数据库;
2019-09-21 00:48:34 +08:00
28810
8d92ccd751
## v0.9.16
...
- 增加 BaseRepository.AttachOnlyPrimary 方法,只附加实体的主键值;
> 在更新前使用可实现不查询数据库再更新、也可以实现更新时不更新值为 null 的字段
```csharp
class T {
public int id { get; set; }
public string name { get; set; }
public string other { get; set; }
}
var item = new T { id = 1, name = "xx" };
fsql.GetRepository<T>().AttachOnlyPrimary(item).Update(item); //只更新 name
```
- 修复 Lambda 表达式中 DateTime.Now.ToString("yyyyMMdd") 不能直接执行的 bug;
2019-09-18 16:58:13 +08:00
28810
baf6d768a4
- 修复 Aop.AuditValue 与 FreeSql.Repository 主键状态管理的冲突;
2019-08-31 03:00:17 +08:00
28810
a62d07d2b7
- 修复 DbContext.Save 只查询不更新的bug;
2019-08-14 11:22:34 +08:00
28810
a79ee52b4f
- 优化 DbContext/Repository 局部调整;
2019-08-13 19:13:48 +08:00
28810
79ab3ae217
- 补充 使用 IsIgnore 忽略后,表达式再使用时的友好错误提示;
2019-08-13 17:17:38 +08:00
28810
f8c3608fda
源代码改用vs默认格式化
2019-06-27 09:40:35 +08:00
28810
611c066481
- 合并 FreeSql.DbContext 项目至 FreeSql 维护;
2019-06-26 10:09:26 +08:00
28810
be5259dd68
移除 FreeSql.DbContext,成为独立项目
2019-04-01 10:48:39 +08:00
28810
3ca91b70a9
修复 FreeSql.DbContext 当插入实体带 Guid 主键无值时候的 bug
2019-03-30 19:51:14 +08:00
28810
a7e06843a9
FreeSql.DbContext 融合 Repository + UnitOfWork
2019-03-30 19:11:17 +08:00
28810
496750da94
FreeSql.DbContext 内部仓储融合
2019-03-30 17:14:23 +08:00
28810
ff758f338c
修复 DbContext bug
2019-03-29 22:31:12 +08:00
28810
df8845e5b1
## v0.3.27
...
- 增加 行级锁功能,适用修改实体;
- 增加 FreeSql.Repository 默认依赖注入的方式,同时保留原有 Autofac;
- 优化 FreeSql.Repository Insert 逻辑,参考了 FreeSql.DbContext;
- 优化 FreeSql.IUpdate 参照 IInsert 对大批量更新,拆分执行;
- 修复 FreeSql.IInsert ClearData 重复利用的 bug(使用 IgnoreColumns 进行大批量插入时会发生);
2019-03-29 21:28:43 +08:00
28810
4edfb04010
- 增加 IUpdate.WhereCaseSource 方法,实现批量修改时的条件判断;
...
- 增加 FreeSql.DbContext 行级锁;
2019-03-29 12:58:58 +08:00