|
|
|
@ -2,6 +2,7 @@
|
|
|
|
using Volo.Abp.Caching;
|
|
|
|
using Volo.Abp.Caching;
|
|
|
|
using Volo.Abp.Domain.Repositories;
|
|
|
|
using Volo.Abp.Domain.Repositories;
|
|
|
|
using Volo.Abp.ObjectMapping;
|
|
|
|
using Volo.Abp.ObjectMapping;
|
|
|
|
|
|
|
|
using Volo.Abp.Uow;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Volo.Abp.Domain.Entities.Caching;
|
|
|
|
namespace Volo.Abp.Domain.Entities.Caching;
|
|
|
|
|
|
|
|
|
|
|
|
@ -15,10 +16,9 @@ public class EntityCacheWithObjectMapper<TEntity, TEntityCacheItem, TKey> :
|
|
|
|
public EntityCacheWithObjectMapper(
|
|
|
|
public EntityCacheWithObjectMapper(
|
|
|
|
IReadOnlyRepository<TEntity, TKey> repository,
|
|
|
|
IReadOnlyRepository<TEntity, TKey> repository,
|
|
|
|
IDistributedCache<TEntityCacheItem, TKey> cache,
|
|
|
|
IDistributedCache<TEntityCacheItem, TKey> cache,
|
|
|
|
|
|
|
|
IUnitOfWorkManager unitOfWorkManager,
|
|
|
|
IObjectMapper objectMapper)
|
|
|
|
IObjectMapper objectMapper)
|
|
|
|
: base(
|
|
|
|
: base(repository, cache, unitOfWorkManager)
|
|
|
|
repository,
|
|
|
|
|
|
|
|
cache)
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ObjectMapper = objectMapper;
|
|
|
|
ObjectMapper = objectMapper;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|