mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
Add Check
This commit is contained in:
@@ -17,6 +17,10 @@ namespace SqlSugar
|
||||
|
||||
public static void RemoveCache(ICacheService cacheService, string tableName)
|
||||
{
|
||||
if (cacheService == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var keys = cacheService.GetAllKey<string>();
|
||||
if (keys.HasValue())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user