Update split table

This commit is contained in:
sunkaixuan 2022-12-27 18:09:34 +08:00
parent 5da87be380
commit 306376815d

View File

@ -211,7 +211,7 @@ namespace SqlSugar
{
var isLog = this.Context.Ado.IsEnableLogEvent;
this.Context.Ado.IsEnableLogEvent = false;
foreach (var item in TableNames.GroupBy(it=>it.Key).Select(it=>it).ToDictionary(it=>it.Key,it=>it))
foreach (var item in TableNames.GroupBy(it=>it.Key).Select(it=>it).ToDictionary(it=>it.Key,it=>it.First().Value))
{
if (!this.Context.DbMaintenance.IsAnyTable(item.Key, false))
{