mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-01 19:03:58 +08:00
Add Remove Cache
This commit is contained in:
@@ -183,6 +183,16 @@ namespace SqlSugar
|
||||
return CacheManager<T>.GetInstance();
|
||||
}
|
||||
|
||||
public void RemoveCacheAll()
|
||||
{
|
||||
CacheManager.RemoveAllCache();
|
||||
}
|
||||
|
||||
public void RemoveCache<T>(string key)
|
||||
{
|
||||
CacheManager<T>.GetInstance().Remove(key);
|
||||
}
|
||||
|
||||
#region Private Methods
|
||||
private Dictionary<string, object> DataReaderToDynamicList_Part<T>(Dictionary<string, object> readerValues, PropertyInfo item, List<T> reval)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user