public static bool CanCache(Type type) => CacheObjectsAttribute.IsEnabled(type) ?? Database.Configuration.Cache.Enabled;
public static bool CanCache(Type type) { return(CacheObjectsAttribute.IsEnabled(type) ?? _IsCachingEnabled); }
public static bool CanCache(Type type) => CacheObjectsAttribute.IsEnabled(type) ?? IsCachingEnabled;
public bool IsCacheable(Type type) => CacheObjectsAttribute.IsEnabled(type) ?? ProviderConfig.Configuration.Cache.Enabled;