Update Core

This commit is contained in:
sunkaixuan
2019-04-28 18:04:48 +08:00
parent eeceb621ec
commit 4d71e45906

View File

@@ -566,6 +566,11 @@ namespace SqlSugar
asyncUpdateableBuilder.PrimaryKeys = this.UpdateBuilder.PrimaryKeys; asyncUpdateableBuilder.PrimaryKeys = this.UpdateBuilder.PrimaryKeys;
asyncUpdateableBuilder.IsOffIdentity = this.UpdateBuilder.IsOffIdentity; asyncUpdateableBuilder.IsOffIdentity = this.UpdateBuilder.IsOffIdentity;
asyncUpdateableBuilder.SetValues = this.UpdateBuilder.SetValues; 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) if (this.RemoveCacheFunc != null)
{ {
asyncUpdateable.RemoveDataCache(); asyncUpdateable.RemoveDataCache();