You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeFullName=typeof(T).FullName??typeof(T).Name;// sometimes FullName returns null in certain derived type situations, so I added the check to use the Name property if FullName is null
28
+
_entityType=typeof(T);
29
+
TypeFullName=_entityType.FullName??_entityType.Name;// sometimes FullName returns null in certain derived type situations, so I added the check to use the Name property if FullName is null
27
30
}
28
31
29
32
publicICachingProviderCachingProvider
@@ -32,6 +35,11 @@ public ICachingProvider CachingProvider
// Note: it's important to use CachePrefix instead of FullCachePrefix otherwise it is tied to itself and won't be able to find it once the counter is incremented
/// Used to get or set whether the cache is currently enabled and being used
69
+
/// </summary>
67
70
boolCachingEnabled{get;set;}
68
71
72
+
/// <summary>
73
+
/// Returns true if the cache was used on the very last query that was used (Get, Find, GetAll or FindAll)
74
+
/// </summary>
69
75
boolCacheUsed{get;}
70
76
77
+
/// <summary>
78
+
/// Disables caching for all code within the using() block it is called in
79
+
/// </summary>
80
+
/// <returns></returns>
71
81
IDisabledCacheDisableCaching();
82
+
83
+
/// <summary>
84
+
/// Clears the cache for this particular repository. All other repositories will still have their caches available. Use Repository.ClearAllCache() to clear the cache for every repository
0 commit comments