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