mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Async RemoveCache BUG
This commit is contained in:
@@ -388,6 +388,10 @@ namespace SqlSugar
|
||||
asyncDeleteBuilder.sql = this.DeleteBuilder.sql;
|
||||
asyncDeleteBuilder.WhereInfos = this.DeleteBuilder.WhereInfos;
|
||||
asyncDeleteBuilder.TableWithString = this.DeleteBuilder.TableWithString;
|
||||
if (this.RemoveCacheFunc != null)
|
||||
{
|
||||
asyncDeleteable.RemoveDataCache();
|
||||
}
|
||||
return asyncDeleteable;
|
||||
}
|
||||
|
||||
|
@@ -439,6 +439,10 @@ namespace SqlSugar
|
||||
asyncInsertableBuilder.IsReturnIdentity = this.InsertBuilder.IsReturnIdentity;
|
||||
asyncInsertableBuilder.EntityInfo = this.InsertBuilder.EntityInfo;
|
||||
asyncInsertableBuilder.TableWithString = this.InsertBuilder.TableWithString;
|
||||
if (this.RemoveCacheFunc != null)
|
||||
{
|
||||
asyncInsertable.RemoveDataCache();
|
||||
}
|
||||
return asyncInsertable;
|
||||
}
|
||||
|
||||
|
@@ -540,6 +540,10 @@ namespace SqlSugar
|
||||
asyncUpdateableBuilder.PrimaryKeys = this.UpdateBuilder.PrimaryKeys;
|
||||
asyncUpdateableBuilder.IsOffIdentity = this.UpdateBuilder.IsOffIdentity;
|
||||
asyncUpdateableBuilder.SetValues = this.UpdateBuilder.SetValues;
|
||||
if (this.RemoveCacheFunc != null)
|
||||
{
|
||||
asyncUpdateable.RemoveDataCache();
|
||||
}
|
||||
return asyncUpdateable;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user