Commit Graph

98 Commits

Author SHA1 Message Date
2881099
76e8b3efce - 增加 Column 特性 RereadSql 重读功能; 2020-12-21 20:31:16 +08:00
2881099
f93261d8e2 - 增加 ISelect Cancel 用于取消本次查询;
- 增加 IncludeIf/IncludeByPropertyNameIf 方法;
2020-11-12 22:03:17 +08:00
2881099
f9a46e3a12 - 增加 Async CancellationToken ISelect; 2020-11-12 09:10:47 +08:00
2881099
b701ad8421 - 增加 IncludeByPropertyName 按属性名进行 Include/IncludeMany 操作;#278 2020-11-04 18:03:47 +08:00
2881099
f3bc47feca - 移除 ISelect<T> where T : class 约束限制;#515 2020-11-02 21:01:07 +08:00
28810
324fde304e - 增加 GlobalFilter.ApplyOnly 继承的实体才生效;#495 2020-10-22 02:59:38 +08:00
28810
acf26ecbef - 增加 ISelect.InsertInto 将查询转换为 INSERT INTO t1 SELECT ... FROM t2 执行插入;#469 2020-10-16 22:01:00 +08:00
28810
35069609de - 优化 WhereDynamic 传入 DynamicFilterInfo 也能执行; 2020-09-29 11:54:16 +08:00
28810
d617b237de - 补充 异步方法 ToListAsync(a => {}) 对 IncludeMany 的支持; 2020-09-29 11:31:57 +08:00
28810
31775bee25 - 优化 IncludeMany 筛选字段中未指定主键,并且 then.IncludeMany 继续向下,则自动附加查询主键; 2020-09-28 21:03:38 +08:00
28810
ad12402926 - 增加 ISelect<11..16> 16 个多联表查询; 2020-09-13 10:45:14 +08:00
28810
24e0fcd0af - 增加 IncludeMany(a => a.Childs).ToList(a => new { a.Childs }) 指定集合属性返回; 2020-09-06 00:42:44 +08:00
28810
dd477482f1 - 增加 ISelect Aggregate(lambda, out var result) 方法; 2020-09-04 12:12:37 +08:00
28810
80ac7d90a8 - 修复 ISelect Any(lambda) 条件被附加的问题,不便于再次使用 ISelect 对象; 2020-09-03 18:39:06 +08:00
28810
d025603997 - 增加 ISelect OrderByIf 方法 #446; 2020-09-02 18:44:22 +08:00
28810
7dd8eacce3 - 完善 ToChunk 分块加载查询,应用到 ISelect`1..10 中; 2020-08-17 08:58:34 +08:00
28810
e4b51e5d20 - 增加 ISelect<2..10> 多表 WithSql 方法 #413; 2020-08-14 03:06:11 +08:00
28810
5f645f194f - 完善 ISelect<T>.WithSql 方法,支持传入参数化 #413; 2020-08-13 10:25:01 +08:00
28810
552926dd96 修正命名 NaviteTuple 为 NativeTuple 2020-08-02 13:38:23 +08:00
28810
f2fba673d2 - 增加 FreeSql.Provider.PostgreSQL NetTopologySuite 类型映射,保留 LegacyPostgis 映射 #369; 2020-07-12 20:47:07 +08:00
28810
8e14759fdd debug #367 2020-07-12 12:55:19 +08:00
28810
c88efe24d1 add IncludeMany exception tips 2020-06-18 17:32:47 +08:00
28810
a76ae83eab - 修复 IncludeMany 只填充子属性中双向关系的 ManyToOne 对象值; 2020-06-11 00:06:53 +08:00
28810
c4ec130451 - 修复 IncludeMany 只填充子属性中双向关系的 ManyToOne 对象值; 2020-06-10 22:38:07 +08:00
28810
03a94888a8 - fix 1.5.0-preview0502 bug 2020-05-08 10:38:39 +08:00
28810
d2e8bcc26b - 修复 IncludeMany 集合属性为 a.xx.Childs 时,可能出现错误; 2020-04-26 13:45:23 +08:00
28810
c78c4ed7ae - 修复 实体类型为 char 时 ExpressionTree 读取失败 bug;#283
- 修复 表达式解析 Include 父子导航可能失败的 bug;
2020-04-22 14:37:30 +08:00
28810
67222ba007 - 修复 ISelect.From 内部 WhereIf 二次表达式解析 bug;1.4.0-preview0420 2020-04-20 09:35:03 +08:00
28810
5f98749652 - 调整 ISelect linq to sql 和 queryable 实现依赖移至 FreeSql.Extensions.Linq;#260 2020-04-10 02:28:33 +08:00
28810
c1882cd768 - 修复 IncludeMany 第3层无法加载的问题,IncludeMany(a => a.Parent.Parent.Childs); 2020-04-07 16:42:46 +08:00
28810
dc625218d6 - 修复 ToTreeList 的问题 #255 2020-03-27 18:41:11 +08:00
28810
0effad75e4 - 增加 ISelect.ToTreeList 扩展方法查询数据,加工为树型 List;(注意:实体需要配置父子导航属性) 2020-03-15 18:33:15 +08:00
28810
fff7925d22 - 增加 ISelect`1 AsQueryable 方法,实现将 ISelect 转换为 IQueryable 类型; 2020-03-11 18:51:56 +08:00
28810
59b9b1272b - 调整 移除对 System.ValueType 的依赖,减少版本冲突问题;(目前 FreeSql.dll 无任何公用库依赖) 2020-03-07 16:08:03 +08:00
28810
4e5d15e044 - 优化 IncludeMany 扩展方法对 T1 不自动迁移; 2020-03-06 23:21:09 +08:00
28810
34ba9fbf4f - 优化 Include 友好错误提示; 2020-03-03 16:44:52 +08:00
28810
bbba06a343 - 扩展 内部方法 QuoteReadColumn 2020-01-06 18:50:38 +08:00
28810
255593a594 - 增加 ISelect`1.WithSql("select * from user ...") 功能; 2019-12-31 16:26:04 +08:00
28810
a92c279c72 - 修复 Ado.Query 查询字段重复时报错;#162 #165 #161 - 增加 FreeSql.Provider.MsAccess 支持 Access 数据库操作,已通过 2003/2007 版本测试; 2019-12-24 06:16:52 +08:00
28810
d5ed1c8a30 - 优化 实体基类的属性位置,优先排在最前面; #164
- 整理 实体类 Ctor 有构造函数的映射处理;#164 [wiki](https://github.com/2881099/FreeSql/wiki/%e8%bf%94%e5%9b%9e%e6%95%b0%e6%8d%ae#dto-%E6%98%A0%E5%B0%84%E6%9F%A5%E8%AF%A2)
- 优化 实体属性,支持 protected set 属性;#164
2019-12-22 20:10:21 +08:00
28810
1b1f5c12ae - 兼容 Vb.Net 无法使用 IncludeMany 的问题; 2019-12-21 20:33:12 +08:00
28810
5b33e2d062 - 兼容 Vb.Net 无法使用 IncludeMany 的问题;#140 2019-12-21 20:31:08 +08:00
28810
fe5b98509b - 增加 ISelect.ToSql 字段别名设置,默认为 AsIndex,可改为 AsProperty;#158 2019-12-17 22:08:12 +08:00
28810
204b6ecd98 - 优化 AsTable 分表查询 Any/Min/Max/Avg/Sum/Count 的处理;#158
- 调整 Avg 方法返回值为 double,Sum 方法返回值为 decimal;
2019-12-17 13:35:13 +08:00
28810
15c3ab7297 - 增加 ISelect.ForUpdate 排他更新锁(根据数据库类型的规则,见代码注释);
- 完善 SqlServer WithLock 功能,组合多种使用 | 枚举相联;
2019-12-14 11:43:17 +08:00
28810
8c770a3ffb - 优化 IncludeMany 级联查询支持异步适配(之前是同步方式); 2019-12-03 21:16:40 +08:00
28810
e9a8ad70a1 - 增加 ICodeFirst.IsGenerateCommandParameterWithLambda 选项,开启表达式解析的命令参数化;
- 增加 ExpressionCallContext 自定义函数上下文档 DbParameter 属性;
- 修复 IncludeMany(a => a.x1.x2.Childs) 当 x1, x2 为 null 的报 null 错误;
2019-11-22 21:55:36 +08:00
28810
12be7f0051 - 调整内部参数化处理逻辑,为以后 Where 条件参数化做准备; 2019-11-22 05:58:17 +08:00
28810
04107d3d24 - 增加 Repository/DbContext SaveMany 方法实现一对多,子数据的完整保存;
- 调整 SaveManyToMany 方法名为 SaveMany;
2019-11-21 16:42:20 +08:00
28810
1083f371a9 - 增加 IncludeMany 贪婪加载的时候可指定子表的字段,避免查询子表所有字段; 2019-11-18 03:22:34 +08:00