mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 12:18:00 +08:00
Synchronization code
This commit is contained in:
parent
6acb380a20
commit
3b35a6bf7f
@ -214,11 +214,11 @@ namespace SqlSugar
|
||||
this.Context.Ado.IsEnableLogEvent = false;
|
||||
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))
|
||||
if (!this.Context.CopyNew().DbMaintenance.IsAnyTable(item.Key, false))
|
||||
{
|
||||
lock (SplitLockObj)
|
||||
{
|
||||
if (!this.Context.DbMaintenance.IsAnyTable(item.Key, false))
|
||||
if (!this.Context.CopyNew().DbMaintenance.IsAnyTable(item.Key, false))
|
||||
{
|
||||
if (item.Value != null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user