mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
Add Saveable.RemoveDataCache
This commit is contained in:
@@ -161,6 +161,18 @@ namespace SqlSugar
|
||||
return this;
|
||||
}
|
||||
|
||||
public ISaveable<T> RemoveDataCache()
|
||||
{
|
||||
if (this.insertable != null)
|
||||
{
|
||||
this.insertable.RemoveDataCache();
|
||||
}
|
||||
if (this.updateable != null)
|
||||
{
|
||||
this.updateable.RemoveDataCache();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
public ISaveable<T> InsertIgnoreColumns(Expression<Func<T, object>> columns)
|
||||
{
|
||||
LoadInsertable();
|
||||
|
||||
@@ -22,5 +22,6 @@ namespace SqlSugar
|
||||
ISaveable<T> UpdateIgnoreColumns(Expression<Func<T, object>> columns);
|
||||
ISaveable<T> UpdateWhereColumns(Expression<Func<T, object>> columns);
|
||||
ISaveable<T> EnableDiffLogEvent(object businessData = null);
|
||||
ISaveable<T> RemoveDataCache();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user