!8 条件判断错误

Merge pull request !8 from 上善若水/master
This commit is contained in:
sunkaixuan 2021-10-19 14:03:43 +00:00 committed by Gitee
commit c0ef39f792

View File

@ -1051,7 +1051,7 @@ namespace SqlSugar
_Context.Ado.IsEnableLogEvent = true;
this.CurrentConnectionConfig = config;
_ThreadId = Thread.CurrentThread.ManagedThreadId.ToString();
if (_MappingColumns == null)
if (this.MappingTables == null)
this.MappingTables = new MappingTableList();
if (this.MappingColumns == null)
this.MappingColumns = new MappingColumnList();