diff --git a/Src/Asp.Net/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs b/Src/Asp.Net/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs index 0d49a9e4a..280d050d9 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/UpdateProvider/UpdateableProvider.cs @@ -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).WhereColumnList = this.WhereColumnList; + (asyncUpdateable as UpdateableProvider).IsWhereColumns = this.IsWhereColumns; + } if (this.RemoveCacheFunc != null) { asyncUpdateable.RemoveDataCache();