update

28810
2019-11-13 19:21:53 +08:00
parent d9f60eb1ed
commit 863bbdb37a

@@ -4,7 +4,7 @@
## v0.12.1(预告)
- 增加 AsTable 和 Repository 分表时的自动迁移分表功能;
- 增加 ICodeFirst.SyncStructure(Type entityType, string tableName) 指定表名来迁移实体,之前是根据实体特性 Table.Name 来迁移的
- 增加 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 表