Update db.Updateable.As

This commit is contained in:
sunkaixuan 2022-12-10 13:40:11 +08:00
parent 531735a187
commit 815bbb61eb

View File

@ -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)