Browse Source

Synchronization Code

pull/29/head
sunkaixuan 2 years ago
parent
commit
ddb9e52f08
  1. 2
      Src/Asp.NetCore2/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs

2
Src/Asp.NetCore2/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs

@ -201,6 +201,8 @@ namespace SqlSugar
//}
//this.Context.MappingTables.Add(entityName, tableName);
this.UpdateBuilder.TableName = tableName;
if (tableName.IsNullOrEmpty())
this.UpdateBuilder.TableName = this.EntityInfo.DbTableName;
return this; ;
}
public IUpdateable<T> EnableDiffLogEventIF(bool isEnableDiffLog, object businessData = null)

Loading…
Cancel
Save