修复CreateShardingTableOnStart为false时没有后缀表在系统里面

This commit is contained in:
xuejiaming 2021-07-19 16:14:21 +08:00
parent c24edd3318
commit 59b3abcf83
3 changed files with 11 additions and 7 deletions

View File

@ -8,9 +8,9 @@
Release | EF Core | .NET Standard | .NET (Core) | Sql Server | [Pomelo.EntityFrameworkCore.MySql](https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql)
--- | --- | --- | --- | --- | ---
[5.1.x.x](https://www.nuget.org/packages/ShardingCore/5.1.0.20) | >= 5.0.x | 2.1 | 3.0+ | >= 2012 | 5.0.0
[3.1.x.x](https://www.nuget.org/packages/ShardingCore/3.1.0.20) | 3.1.10 | 2.0 | 2.0+ | >= 2012 | 3.2.4
[2.1.x.x](https://www.nuget.org/packages/ShardingCore/2.1.0.20) | 2.2.6 | 2.0 | 2.0+ | >= 2008 | 2.2.6
[5.1.x.x](https://www.nuget.org/packages/ShardingCore/5.1.0.21) | >= 5.0.x | 2.1 | 3.0+ | >= 2012 | 5.0.0
[3.1.x.x](https://www.nuget.org/packages/ShardingCore/3.1.0.21) | 3.1.10 | 2.0 | 2.0+ | >= 2012 | 3.2.4
[2.1.x.x](https://www.nuget.org/packages/ShardingCore/2.1.0.21) | 2.2.6 | 2.0 | 2.0+ | >= 2008 | 2.2.6
- [开始](#开始)

View File

@ -1,8 +1,8 @@
:start
::定义版本
set EFCORE2=2.1.0.20
set EFCORE3=3.1.0.20
set EFCORE5=5.1.0.20
set EFCORE2=2.1.0.21
set EFCORE3=3.1.0.21
set EFCORE5=5.1.0.21
::删除所有bin与obj下的文件
@echo off

View File

@ -231,8 +231,12 @@ namespace ShardingCore
}
}
}
else
{
//添加物理表
virtualTable.AddPhysicTable(new DefaultPhysicTable(virtualTable, tail));
}
}
}
}