28810
|
45f06c3025
|
update internal code
|
2020-05-23 00:50:24 +08:00 |
|
28810
|
99f0dd7391
|
- 增加 IUpdate.SetSourceIgnore 方法,可实现忽略 null 属性的更新;
|
2020-05-22 18:20:28 +08:00 |
|
28810
|
6a443620e7
|
- 增加 IFreeSql.InsertOrUpdate 方法 #316
|
2020-05-21 01:59:35 +08:00 |
|
28810
|
148724e229
|
update IUpdate.SetDto summary
|
2020-05-17 01:34:06 +08:00 |
|
28810
|
a0acece7e5
|
- 增加 IUpdate.SetIf 方法;#309
|
2020-05-13 16:52:12 +08:00 |
|
28810
|
e3dba006cf
|
- 增加 ISelect.WhereDynamicFilter 方法实现动态过滤条件(与前端交互);
|
2020-05-07 22:54:16 +08:00 |
|
28810
|
ebe1b7a34f
|
- 优化 Guid GetDefaultValue 可能导致的错误;
|
2020-05-07 13:45:25 +08:00 |
|
28810
|
960185590a
|
rename iDbFirst to IDbFirst
|
2020-04-23 12:52:32 +08:00 |
|
28810
|
34c671cdd8
|
rename iDbFirst to IDbFirst
|
2020-04-23 12:52:21 +08:00 |
|
28810
|
36759402cc
|
- 增加 FreeSql.DbContext OnModelCreating 虚方法,实现在 DbContext 使用 FluentApi;#4 - 移除 FreeSql.Extensions.EfCoreFluentApi,功能移至 FreeSql.DbContext;
|
2020-04-16 02:58:34 +08:00 |
|
28810
|
e62e425646
|
- 增加 IInsert InsertColumns/IgnoreColumns 方法重载输入 string[];#275
|
2020-04-14 23:49:25 +08:00 |
|
28810
|
4e4240ff7a
|
add ToTreeList tests #268
|
2020-04-10 13:09:08 +08:00 |
|
28810
|
5f98749652
|
- 调整 ISelect linq to sql 和 queryable 实现依赖移至 FreeSql.Extensions.Linq;#260
|
2020-04-10 02:28:33 +08:00 |
|
28810
|
ee1e292165
|
- 增加 GroupBy ToDictionary 返回字段的查询方法,TKey 为 GroupBy 选择的对象;
- 整理 GroupBy 所有方法不使用 DTO 映射规则;
|
2020-04-08 19:10:04 +08:00 |
|
28810
|
fa59a6e3e8
|
- 完善 GroupBy count(b.id) 指定字段统计;
|
2020-04-08 16:19:14 +08:00 |
|
28810
|
74f8700c21
|
- 调整 SyncStructure 返回值为 void
|
2020-04-07 11:25:13 +08:00 |
|
28810
|
f3593a321f
|
- 增加 FreeSqlBuilder UseNameConvert 方法,类名、属性名都生效;
- 调整 FreeSqlBuilder,准备移除 UseEntityPropertyNameConvert/UseSyncStructureToLower/UseSyncStructureToUpper 方法;#260
|
2020-03-31 07:02:42 +08:00 |
|
28810
|
bbe5450eb9
|
- 调整 IInsert/IUpdate NoneParameter 方法,增加参数 isNotCommandParameter 可设置是否使用参数化;
|
2020-03-31 06:13:43 +08:00 |
|
28810
|
a4367ebc5a
|
- 修复 DbFirst Oracle 序列值使用复杂的问题,结合 [Column(InsertValueSql = "xxx.nextval")];
|
2020-03-29 18:15:39 +08:00 |
|
28810
|
a6eae955ed
|
- 增加 IAdo.ConnectionString 属性返回 UseConnectionString 传入的值;
|
2020-03-28 15:29:39 +08:00 |
|
28810
|
a8eaca9e58
|
- 优化 ConnectionPool 提升被动连接断开的体验(会卡的可以升级);
|
2020-03-23 23:17:00 +08:00 |
|
28810
|
72781596bd
|
- 移除 In多表表达式函数解析 #243;
- 调整 SafeObjectPool 源码移入项目;
|
2020-03-20 20:32:49 +08:00 |
|
28810
|
22a2450e05
|
- 增加 ISelect`1 ToDictionary 方法查询返回字典;
|
2020-03-20 01:52:43 +08:00 |
|
28810
|
c468c65ba5
|
- 修复 UseGenerateCommandParameterWithLambda(true) 时子语句的参数没整合到主语句;#231
- 增加 ISelect.RawJoin 方法以便实现 Outer Apply 查询;#200
|
2020-03-12 15:49:08 +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
|
24cc8bc1da
|
- 调整 Aop 改为 event 事件;
- 调整 Ado.AopCommandExecuting/AopCommandExecuted 到 Aop.CommandBefore/After;
- 增加 Aop.TraceBefore/After 事件;
|
2020-03-02 18:57:53 +08:00 |
|
28810
|
5cff594161
|
- 增加 IUpdate.SetDto 根据 dto 更新的方法;#218
|
2020-02-28 11:54:13 +08:00 |
|
28810
|
f8e18f0548
|
- 增加 nuget 包强签名发布 v1.2.0-preview2;#201
|
2020-02-18 12:21:27 +08:00 |
|
28810
|
cfbb143ec6
|
完善注释 GenerateCommandParameterWithLambda
|
2020-02-15 17:37:21 +08:00 |
|
28810
|
c64deb3d20
|
- 修复 GroupBy 类型转换错误;#186
- 修复 .ToList(a => new DTO(a.id)) 报 未将对象引用设置到对象的实例 问题; #187
- 修复 update语句,二元运算解析出错; #184
|
2020-01-19 23:53:06 +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
|
f5128f3308
|
- 增加 ISelectGrouping 分组查询总量的方法 .Count();
|
2019-12-21 20:00:39 +08:00 |
|
28810
|
c268970c71
|
- 增加 IInsert.ToDataTable 方法,为 BulkCopy 操作提供数据,该文件处理了(表名、字段名、类型)映射和忽略列;
|
2019-12-20 21:53:44 +08:00 |
|
28810
|
ab1d0a2cb5
|
- 增加 IInsert/IUpdate BatchOptions 方法指定批量插入的设置;
|
2019-12-20 19:47:43 +08:00 |
|
28810
|
ec25ccea86
|
- 完善 Select`2-10 多表查询对象,增加 First(select)/ToOne(select)/First\<Dto\> 方法;
|
2019-12-19 13:46:11 +08:00 |
|
28810
|
a357ee4975
|
- 优化 BaseEntity 查询数据时自动 Attach;
|
2019-12-18 21:18:24 +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
|
e1e3e4a3b2
|
- 增加 Where In 表达式解析;
- 增加 FreeSqlBuilder.UseConnectionFactory 自定义数据库连接对象的创建方法;
|
2019-12-17 01:39:53 +08:00 |
|
28810
|
15c3ab7297
|
- 增加 ISelect.ForUpdate 排他更新锁(根据数据库类型的规则,见代码注释);
- 完善 SqlServer WithLock 功能,组合多种使用 | 枚举相联;
|
2019-12-14 11:43:17 +08:00 |
|
28810
|
dfb4662d86
|
- 补充 同线程时间 fsql.Transaction 事务等级参数的传入;
|
2019-12-14 01:34:38 +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
|
8c5d5ddedc
|
- 增加 UnitOfWork 静态属性 DebugBeingUsed,用于生产环境监视正在使用中的事务;
|
2019-11-21 21:55:04 +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 |
|
28810
|
dda7c8bc9c
|
- 增加 AsTable 和 Repository 分表时的自动迁移分表功能;
- 增加 ICodeFirst.SyncStructure(Type entityType, string tableName) 指定表名来迁移实体;
```csharp
fsql.CodeFirst.SyncStructure(typeof(Log), "Log_1"); //迁移到 Log_1 表
fsql.CodeFirst.SyncStructure(typeof(Log), "Log_2"); //迁移到 Log_2 表
```
|
2019-11-13 19:57:44 +08:00 |
|
28810
|
35a663f5ef
|
补充 ToList 注释
|
2019-11-06 16:45:29 +08:00 |
|
28810
|
0c341360b7
|
- 增加 SqlServer ISelect.WithLock 扩展方法,实现 with(nolock) 查询;
- 增加 SqlServer IFreeSql.SetGlobalSelectWithLock 扩展方法,实现全局设置 with(nock) 查询;
- 移除 Aop.ToList;
- 移除 Aop.Where;
|
2019-11-06 13:58:19 +08:00 |
|