mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-01 19:03:58 +08:00
Synchronization code
This commit is contained in:
@@ -338,7 +338,8 @@ namespace SqlSugar
|
||||
if (
|
||||
context?.CurrentConnectionConfig?.ConfigureExternalServices?.SplitTableService !=null
|
||||
&& splitTableAttribute.CustomSplitTableService == null
|
||||
&& context.EntityMaintenance.GetEntityInfo(entityType).DbTableName?.EndsWith("_{year}{month}{day}") ==true
|
||||
&& context.EntityMaintenance.GetEntityInfo(entityType).DbTableName?.EndsWith("_{year}{month}{day}") ==true
|
||||
&& !context.EntityMaintenance.GetEntityInfo(entityType).DbTableName?.Replace("_{year}{month}{day}","")?.Contains("{") == true
|
||||
)
|
||||
{
|
||||
context.CurrentConnectionConfig.ConfigureExternalServices.SplitTableService
|
||||
|
||||
Reference in New Issue
Block a user