mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-05 07:50:52 +08:00
update
1
API.md
1
API.md
@@ -113,6 +113,7 @@ DbContext 自身 = 完整事务,BaseRepository 不一定有事务(可通过
|
||||
| -- | -- | -- | -- |
|
||||
| GetDatabases | List\<string\> | 无 | 获取所有数据库 |
|
||||
| GetTablesByDatabase | List\<DbTableInfo\> | string[] | 获取指定数据库的表信息,包括表、列详情、主键、唯一键、索引、外键、备注 |
|
||||
| ExistsTable | bool | string | 判断表名是否存在 |
|
||||
|
||||
---
|
||||
|
||||
|
||||
5
更新日志.md
5
更新日志.md
@@ -6,6 +6,7 @@
|
||||
- **增加 DbContext/Repository BeginEdit/EndEdit 批量编辑数据的方法 #397;**
|
||||
- 增加 FreeSql.Provider.SqlServerForSystem 使用 System.Data.SqlClient.dll 兼容更多运行平台 #401 #398 #395 #392 #391;
|
||||
- **增加 lambda 表达式树解析子查询 ToList + string.Join() 产生 类似 group_concat 的效果(适配了 sqlserver/pgsql/oracle/mysql/sqlite/达梦/金仓) #405;**
|
||||
- 增加 IDbFirst.ExistsTable 方法判断表是否存在;
|
||||
- 修复 fsql.InsertOrUpdate 在同线程事务模式内使用的 bug #402;
|
||||
- 修复 fsql.Ado.ExecuteDataTable 当记录不存在时,未返回 Columns 设置 #403;
|
||||
- 修复 IInsert/IUpdate BatchProgress 异步执行不生效的 bug;
|
||||
@@ -848,7 +849,7 @@ class Topic {
|
||||
- 增加 Column.Unique 唯一键,多个属性指定相同的标识,代表联合键,[#42](https://github.com/2881099/FreeSql/issues/42);
|
||||
- 增加 Expression string.Concat,[#39](https://github.com/2881099/FreeSql/issues/39);
|
||||
- 补充 Expression IEnumerable\<T\>.Contains 的支持,之前只能数组或IList<T>;
|
||||
- 补充 IDbFirst GetTableByDatabase 返回 uk/fk/index 名称,以便迁移;
|
||||
- 补充 IDbFirst GetTablesByDatabase 返回 uk/fk/index 名称,以便迁移;
|
||||
- 补充 MapType/Unique 单元测试;
|
||||
- 优化 PostgreSQL jsonb 类型使用习惯;
|
||||
|
||||
@@ -1009,7 +1010,7 @@ class Topic {
|
||||
## v0.3.16
|
||||
|
||||
- 修复 IInsert/IUpdate.NoneParameter() 设成了反作用的 bug;
|
||||
- 修复 IDbFirst.GetTablesByDatabase() 默认数据库 bool 判断 bug;
|
||||
- 修复 IDbFirst.GetTablesByDatabase 默认数据库 bool 判断 bug;
|
||||
- 增加 FreeSql.Repository 之 IUnitOfWork 实现,[查看参数资料](https://github.com/2881099/FreeSql/wiki/%e5%b7%a5%e4%bd%9c%e5%8d%95%e5%85%83);
|
||||
- 增加 FreeSql.Repository 继承实现的仓储注入;
|
||||
```csharp
|
||||
|
||||
Reference in New Issue
Block a user