174 Commits

Author SHA1 Message Date
28810
e3c0f615f9 修复 SqlServer 工作单元 bug #23
需要同时设置 SqlCommand.Connection + Transaction
2019-04-19 13:50:19 +08:00
28810
b33536e4df - 补充 实现表达式转换类型的解析,如:Select<object>().Where(a => (a as 实体类型).Id == 0);
- 完善 ExpressionTree 基础数据类型 TryParse 使用与单元测试;
- 优化 ManyToMany 中间实体未配置主键时,自动配置联合主键;
- 修复 Expression.And 的使用问题;
2019-04-17 22:22:15 +08:00
28810
bada8ad3cc ## v0.5.1(五一版)
- 增加 ISelect/IInsert/IUpdate/IDelete.AsType 实现弱类型curd,如:Select<object>().AsType(实体类型);
- 补充 ISelect.From<T2>;
- 补充 ExpressionTree 单元测试;
- 优化 ToList(a => new Dto()),会按优先级查询 Join 实体属性;
- 补充 IDelete/ISelect/IUpdate WhereDynamic 方法,实现 dywhere 条件;
- 修复 WhereObject 内部方法,当开启 Lazy 延时属性时,并且传递实体查询时条件无效;
2019-04-17 00:52:02 +08:00
28810
f011d51f3b ## v0.4.16.1 2019-04-16 22:54:55 +08:00
28810
0d2191ca85 ## v0.4.16
- 增加 ISelect.AsType 实现弱类型查询,配合 Select<object>().AsType(实体类型);
- 补充 ISelect.From<T2>;
- 补充 ExpressionTree 单元测试;
- 优化 ToList(a => new Dto()),会按优先级查询 Join 实体属性;
2019-04-16 22:48:11 +08:00
28810
2714ff360d ## v0.4.13
- 优化 MySql 日期类型精确至毫秒;
- 增加 Distinct 查询前去重数据;
2019-04-12 20:02:58 +08:00
28810
8b49dd8f83 无影响的 bug 2019-04-04 18:13:18 +08:00
28810
da1c6cd4f0 愚人节版本 2019-04-01 12:17:59 +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
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
23d5d33bdd - 增加 IEnumerable<TEntity> 扩展方法 AsSelect 2019-03-15 15:03:08 +08:00
28810
abb7402b36 - 增加 ISelect.ToDataTable 系列方法;
- 增加 无参数化命令执行,可配置全局 ICodeFirst.IsNoneCommandParameter、或临时 IInsert/IUpdate.NoneParameter() 便于调试;
- 关闭 自动同步结构功能,避免线上环境误操作;
- 优化 IInsert 批量插入容易导致 values 过多、或参数化过多的问题,5个数据库均已优化;
2019-03-14 02:24:15 +08:00
28810
1fa6c9bfc4 - 增加 ISelect.ToDataTable 系列方法;
- 增加 无参数化命令执行,便于调试;
2019-03-13 18:24:54 +08:00
28810
2ca55c3d15 arrange 2019-02-15 17:49:01 +08:00
28810
b9a9106f86 lazy延时属性父子关系的1v多类型判断修正,解决 int? != int 的 bug 2019-01-26 10:32:53 +08:00
28810
a6b2b80d44 代码调整 2019-01-25 23:14:50 +08:00
28810
74df67fc13 v0.0.11 修复IAdo.Query直接查询sql的bug 2019-01-25 20:23:14 +08:00
28810
b83b86f528 update wiki 2019-01-23 16:41:11 +08:00
28810
4bf8d60361 ICodeFirst 增加 ConfigEntity 方法,现实干净实体无特性的需求 2019-01-22 12:56:45 +08:00
28810
27bc603d46 完成 sqlite codefirst curd expression 开发与测试 2019-01-09 15:50:43 +08:00
28810
3d132e4f52 sqlite3 codefirst 适配完成,待测试 2019-01-08 22:19:40 +08:00
28810
5eb451fc76 pgsql DbFirst 完成未测试;oracle 适配进行中 2019-01-04 19:20:37 +08:00
28810
9b5e34032c pgsql/mysql/sqlserver适配 2018-12-18 20:09:52 +08:00