28810
|
f5128f3308
|
- 增加 ISelectGrouping 分组查询总量的方法 .Count();
|
2019-12-21 20:00:39 +08:00 |
|
28810
|
fe5b98509b
|
- 增加 ISelect.ToSql 字段别名设置,默认为 AsIndex,可改为 AsProperty;#158
|
2019-12-17 22:08:12 +08:00 |
|
28810
|
e1e3e4a3b2
|
- 增加 Where In 表达式解析;
- 增加 FreeSqlBuilder.UseConnectionFactory 自定义数据库连接对象的创建方法;
|
2019-12-17 01:39:53 +08:00 |
|
28810
|
51494c31a2
|
- 修复 ISelect.AsTable union all 查询对 count/max/min/avg/sum 的别名 bug;#157
|
2019-12-16 18:02:20 +08:00 |
|
28810
|
f162520202
|
update ForUpdate tests
|
2019-12-14 12:21:55 +08:00 |
|
28810
|
15c3ab7297
|
- 增加 ISelect.ForUpdate 排他更新锁(根据数据库类型的规则,见代码注释);
- 完善 SqlServer WithLock 功能,组合多种使用 | 枚举相联;
|
2019-12-14 11:43:17 +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
|
21b4b0d5d3
|
- 增加 ISelect ToDelete/ToUpdate 方法,实现更复杂的删除/更新操作;
|
2019-10-30 20:35:42 +08:00 |
|
28810
|
db7fe82403
|
- 移除 IUpdate/IDelete WhereExists 方法;
|
2019-10-30 18:00:13 +08:00 |
|
28810
|
f434418b2c
|
## v0.9.17 (ODBC)
- 增加 FreeSql.Provider.Odbc,实现 Oracle/SqlServer/MySql 的 Odbc 访问提供;
- 增加 FreeSqlBuilder.UseConnectionString 参数 providerType,可解决因包版本冲突时,可能无法反射获得 FreeSql.Provider 对应的类型,通常这个参数不需要设置;
- 优化 MaxLength 特性,当指定为 -1 时 DbType 会分别映射类型 text/nvarchar(max)/nvarchar2(4000);
|
2019-09-19 23:14:30 +08:00 |
|