mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-20 23:19:36 +08:00
Synchronization code
This commit is contained in:
parent
ceb38b9b53
commit
f28efa60d7
@ -40,6 +40,11 @@ namespace SqlSugar
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (StaticConfig.CacheRemoveByLikeStringFunc != null)
|
||||
{
|
||||
StaticConfig.CacheRemoveByLikeStringFunc(cacheService, likeString);
|
||||
return;
|
||||
}
|
||||
var keys = cacheService.GetAllKey<string>();
|
||||
if (keys.HasValue())
|
||||
{
|
||||
|
@ -30,5 +30,6 @@ namespace SqlSugar
|
||||
public static Func<string,string> Check_FieldFunc;
|
||||
public static Type DynamicExpressionParserType;
|
||||
public static object DynamicExpressionParsingConfig;
|
||||
public static Action<ICacheService, string> CacheRemoveByLikeStringFunc { get; set; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user