mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update split table
This commit is contained in:
parent
33ef48e849
commit
b41ef3a04e
@ -751,6 +751,11 @@ namespace SqlSugar
|
||||
var splitTableAttribute = typeof(T).GetCustomAttribute<SplitTableAttribute>();
|
||||
if (splitTableAttribute != null)
|
||||
{
|
||||
if (splitTableAttribute.CustomSplitTableService==null
|
||||
&&this.Context?.CurrentConnectionConfig?.ConfigureExternalServices?.SplitTableService!=null)
|
||||
{
|
||||
this.Context.CurrentConnectionConfig.ConfigureExternalServices.SplitTableService = null;
|
||||
}
|
||||
return SplitTable((splitTableAttribute as SplitTableAttribute).SplitType);
|
||||
}
|
||||
else
|
||||
|
@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.1.4.144-preview12</version>
|
||||
<version>5.1.4.144-preview16</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user