update

28810
2019-11-13 19:20:20 +08:00
parent b4af3a4065
commit d9f60eb1ed

@@ -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