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