Synchronization Code

This commit is contained in:
sunkaixuan
2022-12-10 13:41:12 +08:00
parent 815bbb61eb
commit ddb9e52f08

View File

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