Async WhereColumns BUG

This commit is contained in:
sunkaixuan
2019-04-28 18:03:59 +08:00
parent 3973e060bd
commit eeceb621ec

View File

@@ -566,6 +566,11 @@ namespace SqlSugar
asyncUpdateableBuilder.PrimaryKeys = this.UpdateBuilder.PrimaryKeys;
asyncUpdateableBuilder.IsOffIdentity = this.UpdateBuilder.IsOffIdentity;
asyncUpdateableBuilder.SetValues = this.UpdateBuilder.SetValues;
if (this.IsWhereColumns)
{
(asyncUpdateable as UpdateableProvider<T>).WhereColumnList = this.WhereColumnList;
(asyncUpdateable as UpdateableProvider<T>).IsWhereColumns = this.IsWhereColumns;
}
if (this.RemoveCacheFunc != null)
{
asyncUpdateable.RemoveDataCache();