Skip to content

Commit

Permalink
Improve the EnableCachingInterceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
VahidN committed Apr 5, 2024
1 parent 658ceb4 commit 3b53c5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Entity Framework Core Second Level Caching Library.</Description>
<VersionPrefix>4.4.0</VersionPrefix>
<VersionPrefix>4.4.1</VersionPrefix>
<Authors>Vahid Nasiri</Authors>
<TargetFrameworks>net8.0;net7.0;net6.0;net5.0;netstandard2.1;netstandard2.0;net462;netcoreapp3.1;</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public EFCoreSecondLevelCacheOptions UseDbCallsIfCachingProviderIsDown(TimeSpan
/// </summary>
public EFCoreSecondLevelCacheOptions EnableCachingInterceptor(bool enable = true)
{
Settings.IsCachingInterceptorEnabled = true;
Settings.IsCachingInterceptorEnabled = enable;

return this;
}
Expand Down

0 comments on commit 3b53c5e

Please sign in to comment.