mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-14 20:30:56 +08:00
update
6
更新日志.md
6
更新日志.md
@@ -3,6 +3,12 @@
|
||||
|
||||
## v0.12.1(预告)
|
||||
|
||||
- 增加 AsTable 和 Repository 分表时的自动迁移分表功能;
|
||||
- 增加 ICodeFirst.SyncStructure(Type entityType, string tableName) 指定表名来迁移实体,之前是根据实体特性 Table.Name 来迁移的;
|
||||
```csharp
|
||||
fsql.CodeFirst.SyncStructure(typeof(Log), "Log_1"); //迁移到 Log_1 表
|
||||
fsql.CodeFirst.SyncStructure(typeof(Log), "Log_2"); //迁移到 Log_2 表
|
||||
```
|
||||
- 增加 PostgreSQL 特有功能 On Conflict Do Update 功能,[wiki](https://github.com/2881099/FreeSql/wiki/%e6%b7%bb%e5%8a%a0%e6%88%96%e4%bf%ae%e6%94%b9);
|
||||
|
||||
## v0.11.11
|
||||
|
||||
Reference in New Issue
Block a user