mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Synchronization code
This commit is contained in:
parent
355b564874
commit
5ae4f97564
@ -211,7 +211,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
var isLog = this.Context.Ado.IsEnableLogEvent;
|
var isLog = this.Context.Ado.IsEnableLogEvent;
|
||||||
this.Context.Ado.IsEnableLogEvent = false;
|
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))
|
if (!this.Context.DbMaintenance.IsAnyTable(item.Key, false))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user