diff --git a/src/EFCoreSecondLevelCacheInterceptor/EFCoreSecondLevelCacheInterceptor.csproj b/src/EFCoreSecondLevelCacheInterceptor/EFCoreSecondLevelCacheInterceptor.csproj index b28a8d8..5f64803 100644 --- a/src/EFCoreSecondLevelCacheInterceptor/EFCoreSecondLevelCacheInterceptor.csproj +++ b/src/EFCoreSecondLevelCacheInterceptor/EFCoreSecondLevelCacheInterceptor.csproj @@ -1,7 +1,7 @@ Entity Framework Core Second Level Caching Library. - 4.4.0 + 4.4.1 Vahid Nasiri net8.0;net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0;net462;netcoreapp3.1; true diff --git a/src/EFCoreSecondLevelCacheInterceptor/EFCoreSecondLevelCacheOptions.cs b/src/EFCoreSecondLevelCacheInterceptor/EFCoreSecondLevelCacheOptions.cs index 93b5a21..1038324 100644 --- a/src/EFCoreSecondLevelCacheInterceptor/EFCoreSecondLevelCacheOptions.cs +++ b/src/EFCoreSecondLevelCacheInterceptor/EFCoreSecondLevelCacheOptions.cs @@ -353,7 +353,7 @@ public EFCoreSecondLevelCacheOptions UseDbCallsIfCachingProviderIsDown(TimeSpan /// public EFCoreSecondLevelCacheOptions EnableCachingInterceptor(bool enable = true) { - Settings.IsCachingInterceptorEnabled = true; + Settings.IsCachingInterceptorEnabled = enable; return this; }